SharePoint randomly not displaying JPG images

Today when working at a client site I ran into weird issue. Some of the sites that are using JPG images were not getting displayed in Internet Explorer. Instead of images it was showing the image not found icon i.e. X.

When I started debugging first thing I did was to open the page in Chrome and it worked just fine so that told me right away that the issue is related to browser support.

Quick research on this issue and I was able to figure out the issue.

So the issue was with the image itself. When you have .jpg image it could be in one of the two formats i.e. CMYK or RGB. Internet Explorer dropped CMYK support starting Internet Explorer 8.0. So when you have JPG image with CMYK format then it will not work in Internet Explorer 8.0 or higher.

To fix this simply open this image into image editor and change the format to RGB. If you do not have the image editor then simply open the Paint and save the image again as JPG and Paint will save it RGB format. After that you can upload it to SharePoint and it should work just fine.


I hope this helps someone with the same issue.