Thread: Image Issue

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2013
    Posts
    2
    Rep Power
    0

    Image Issue


    PHP fetches the images from oracle database and when it is displayed Chrome and Firefox display correctly but Internet explorer display partial. What could be the issue?
    Thanks!
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Dec 2004
    Posts
    2,998
    Rep Power
    375
    why are you storing images into a database? store them on server and then store the location in database
  4. #3
  5. Transforming Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,120
    Rep Power
    9398
    [edited] Putting the images in a database can make some things easier than if they were stored as files (mostly because it comes for free): replicating across multiple instances, backing up with the rest of the database, and sharing across load-balanced web servers. You can still do that with a file-based approach but it means extra work. [/edited]

    Does IE even download the entire image? That's the most obvious thing to check.
    Last edited by requinix; March 28th, 2013 at 01:20 PM. Reason: splitting hairs
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2013
    Posts
    2
    Rep Power
    0

    Data_URI_scheme


    Thank you for the comments.
    It is not my choice to store in the database.
    This is an existing project initially it was stored in the server and now we are in the process of changing the backend from mysql to Oracle and thought of storing it in the database

    Small part of the image is displayed in ie but in chrome and Firefox no issues at all. It display it correctly.

    But i will highlight the contents while i was doing the research

    Formatdata:[<MIME-type>][;charset=<encoding>][;base64],<data>

    The encoding is indicated by ;base64. If it's present the data is encoded as base64. Without it the data (as a sequence of octets) is represented using ASCII encoding for octets inside the range of safe URL characters and using the standard %xx hex encoding of URLs for octets outside that range. If <MIME-type> is omitted, it defaults to text/plain;charset=US-ASCII. (As a shorthand, the type can be omitted but the charset parameter supplied.)

    Some browsers (Chrome, Opera, Safari, Firefox) accept a non-standard ordering if both ;base64 and ;charset are supplied, while Internet Explorer requires that the charset's specification must precede the base64 token.


    Any help will be really appreciated!



    -----------------------------------------------
    Originally Posted by requinix
    [edited] Putting the images in a database can make some things easier than if they were stored as files (mostly because it comes for free): replicating across multiple instances, backing up with the rest of the database, and sharing across load-balanced web servers. You can still do that with a file-based approach but it means extra work. [/edited]

    Does IE even download the entire image? That's the most obvious thing to check.
  8. #5
  9. Transforming Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,120
    Rep Power
    9398

IMN logo majestic logo threadwatch logo seochat tools logo