Re: Displaying MAC graphics in IE6



On 24/01/2006 12:54 PM, Vic Baron wrote:
I am able to view the pix locally in IE6. If I upload them to a website and provide a link to each pix, they will display BUT if I embed them in the web page, I get the red x and they do not display. After a bit of checking, it seems that they are NOT recognized as JPG files by XP/IE6. Remember, that they ARE recognized if I view them locally.

Explain "embed". Do you mean having the pictures provided inline as part of an <img src="" ...> phrase in HTML? When you say that the images appear when you provide a link, I assume you mean you simple type in the full URL to the image in the address bar (or create an HREF link that links to the full URL of the image file).

I notice one thing tho - looking at other jpg files with a hex editor - I see a header that shows "JFIF"{ followed by a bunch of numbers - these are usually similar in all the "other" jpg's. In the jpg's from the MAC show "Exif" "II".

JPEG JFIF is the official name of the file format created for the purpose of transporting single JPEG-compressed images. It is what most people mean when they say "JPEG".

EXIF is a semi-standardized protocol that allows for normalized meta-data to be included along with a JPEG image. Again, this is normal.

Anyway, we know that IE has no problem displaying the images, as it knows what to do when fed a URL (whether this URL is file:/// or http:// is beside the point) that ends in .jpg. This makes sense, as it is the client computer that decides what to do when presented with a ".jpg" file.

The means that the server may not be presenting the URL or file in a sane way.

Some issues that spring to mind:

- The src="" line in any <img> tag is malformed, or the server is doing some URL rewriting such that these lines will always be wrong.

- The server may not be sending a proper MIME type with the inline image, so IE has no idea what to do with it.

The first is pretty esoteric. For the second you can try renaming the files to ".jpeg" and see if that helps. Make sure that the src="" lines are correct (use absolute URLs). What do other browsers do?
.



Relevant Pages

  • Re: mime types
    ... when uploading a jpg or jpeg this works fine in firefox but when i try ... embedded in any image on an unprotected server can give server-wise ...
    (alt.php)
  • RE: MySQL/PHPMyAdmin on FC3 Connection Problem
    ... // You can disable a server config entry by setting host to ''. ... MySQL server ... MySQL control user settings ... table to describe the display fields ...
    (Fedora)
  • not prettey! Display problem
    ... X.Org X server -- core server ... X.Org X server -- AceCad input driver ... X.Org X server -- APM display driver ...
    (Debian-User)
  • Re: not prettey! Display problem
    ... when I start a KDE-Session I get several flashing pixels on the upper edge of my display, that leave holes in windows that are dragged accross them. ... X.Org X server -- core server ... X.Org X server -- AceCad input driver ... X.Org X server -- APM display driver ...
    (Debian-User)
  • Re: Show-stopper Exchange problem
    ... we want the display name to reflect the name of the ... With pretty much any regular old SMTP server, ... client running in smtp mode to set your display name on outbound email, ...
    (microsoft.public.windows.server.sbs)