| Images not displaying for certain visitors
|
JohnNZ

msg:4490811 | 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>
|
incrediBILL

msg:4490819 | 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.
|
JohnNZ

msg:4490821 | 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).
|
birdbrain

msg:4490835 | 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. birdbrain
|
JohnNZ

msg:4490846 | 8:38 am on Sep 3, 2012 (gmt 0) | Spot on birdbrain. I owe you a cold one. Many thanks JB
|
birdbrain

msg:4490849 | 8:53 am on Sep 3, 2012 (gmt 0) | No problem, you're very welcome. ;) birdbrain
|
|
|