homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Images not displaying for certain visitors

Msg#: 4490809 posted 5:39 am on Sep 3, 2012 (gmt 0)

Hi, I hope this is the right forum for this but since I'm not sure where the problem lies ....

I have a webpage that has a number of images at the end of the page, embedded using the img tag.

When I view the website on my PC all images display perfectly OK in both IE and FF.

However a friend has problems viewing one of the images, the 'red X' is displayed instead. Yet all the other images on the page are fine.

The src attribute of the img tag is fine, it's the full url to the image - eg http://www.example.com/images/image.jpg

I'm just flummoxed as to what could be the problem!

Any help appreciated!





WebmasterWorld Administrator incredibill us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Msg#: 4490809 posted 5:58 am on Sep 3, 2012 (gmt 0)

Most frequent problem, assuming the path is correct, is a GIF or JPG saved with the wrong file extension. Some browsers ignore the extension and display the image based on the file format contents. Other browsers are strict and if you put the wrong extension on the wrong file it simply puts up the big red X.


Msg#: 4490809 posted 6:07 am on Sep 3, 2012 (gmt 0)

The file has a .jpg (lowercase) extension. Other images with the same extension are displaying OK for the user (I believe).


WebmasterWorld Senior Member 10+ Year Member

Msg#: 4490809 posted 7:30 am on Sep 3, 2012 (gmt 0)

Hi there JohnNZ,

have you checked the image encoding?

Internet Explorer browsers, less than version 9, have a problem displaying JPEG images
that have CMYK, rather than the default RGB encoding.

The problem can be resolved by opening the .JPG file in an appropriate image editor.

Either change the mode to RGB and then "Save" or use the "Save for Web" option.



Msg#: 4490809 posted 8:38 am on Sep 3, 2012 (gmt 0)

Spot on birdbrain.

I owe you a cold one.

Many thanks JB


WebmasterWorld Senior Member 10+ Year Member

Msg#: 4490809 posted 8:53 am on Sep 3, 2012 (gmt 0)

No problem, you're very welcome. ;)


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved