Details
Description
Some images contain invalid meta data (namely colour coding) that makes java standard Image resizing capabilities fail. This happens during ImageService.resizeImage() call as firstly we need to load the image and this fails.
In order to handle this gracefully we need to simply not do the resizing and just copy the original image. This way the image will not get resized but it will show up. Provided that markup on the storefront is done correctly (i.e. via specific width/height in css style or class with width set to 100%) this will scale properly in the page. The downside is that page loads may be slower as we load full size image rather than small ones.