Welcome to WebmasterWorld Guest from 54.166.133.84

Forum Moderators: open

Message Too Old, No Replies

Images not displaying for certain visitors

     
5:39 am on Sep 3, 2012 (gmt 0)

Junior Member

5+ Year Member

joined:June 27, 2012
posts: 58
votes: 1


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 Sept 3, 2012 (gmt 0)

System Operator from US 

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

joined:Jan 25, 2005
posts:14664
votes: 99


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 Sept 3, 2012 (gmt 0)

Junior Member

5+ Year Member

joined:June 27, 2012
posts: 58
votes: 1


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 Sept 3, 2012 (gmt 0)

Senior Member from GB 

joined:Oct 2, 2003
posts: 1019
votes: 39


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 Sept 3, 2012 (gmt 0)

Junior Member

5+ Year Member

joined:June 27, 2012
posts: 58
votes: 1


Spot on birdbrain.

I owe you a cold one.

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

Senior Member from GB 

joined:Oct 2, 2003
posts: 1019
votes: 39


No problem, you're very welcome. ;)


birdbrain