The goal is to reduce product image sizes after the admin has uploaded them. This will make the catalog page load faster, as dozens of images are loaded. The total page request is over 30 MB.
Asking the admin to resize the images before uploading is not an option, as the world will end if his workflow changes. Seeing as we don't want the world to end, is there a Magento plugin that will shrink images to a specified resolution? To clarify, I'm not concerned with resizing images on the DOM. I'd like to actually shrink the image before it's served.
Best Answer
Magento resizes images to the given size and saves them to a cache folder - if set in template.
Please check your templates where your extra large images are display like
YOUR_THEME/template/catalog/product/list.phtml
If there is no
->resize(X, Y)
images are cached in full size - what may cause your heavy page load.If you want to have it configurable from layout/config ..
replace
with
And set image size from layout ... (example layout hande)
Or ... if you want to make it editable from config ...
... and add a helper to