Welcome to WebmasterWorld Guest from 54.204.100.232

Forum Moderators: incrediBILL

Message Too Old, No Replies

Images not displaying for certain visitors

   
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!

JB

<edit>spelling</edit>
5:58 am on Sep 3, 2012 (gmt 0)

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



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.
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).
7:30 am on Sep 3, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



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.

birdbrain
8:38 am on Sep 3, 2012 (gmt 0)



Spot on birdbrain.

I owe you a cold one.

Many thanks JB
8:53 am on Sep 3, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No problem, you're very welcome. ;)


birdbrain