Sunday 16 December 2018

[Solved] Unable to decode images in internet explorer

ISSUE

You create a Multimedia Component in the Content Manager Explorer. For example, an image is uploaded to the component that is a PNG. You publish the item and it renders fine across all browser types.

You then rename this image file with a new name and extension type, for example, change it to be a JPG. Publish the Multimedia component and all browser types still render this image properly with the exception of Internet Explorer.

The browser will show an encoding error: "DOM7009: Unable to decode image at URL..."

CAUSE

This is a defect/limitation with decoding image MIME types in Internet Explorer.

Resolution

you can work around the issue with Internet Explorer rendering of modified images by first opening the image file in an application like MS Paint and then saving as a different image type (i.e. from PNG to JPG) OR select "Save As" option and save it on its current format. Then upload this image and check. I believe the issue will fix and the image starts to render on IE as well.

No comments:

Post a Comment