Magento Image Optimizer
Last updated
Was this helpful?
Last updated
Was this helpful?
Table of Contents
Disable Compilation Mode
Upload Package
Clear Caches
General Settings
Compress/Optimize Product Images
Compress/Optimize Category Images
Compress/Optimize CMS Images
Google Page Speed Test Result for Desktop
Google Page Speed Test Result for Mobile
Disable Compilation Mode: To check that this is disabled, go to System >Tools > Compilation. If the compiler status is ‘Disabled’, you are ready to go. If not, simply click the ‘Disable’ button on the right hand side of the screen.
Upload Package: Upload the content of the module to your root folder. This will not overwrite the existing Magento folder or files, only the new contents will be added.
Clear Caches: This can be done from the admin console by navigating to the cache management page (System > Cache Management), selecting all caches, clicking ‘refresh’ from the drop-down menu, and submitting the change.
Go to Admin > Stores > Configuration > Scommerce Configuration > Optimize Images
API Key – This will be required for certain providers like Kraken.io
API Secret Key – This will be required for certain providers like Krake.io
Thumbnail images size – Provide thumbnail sizes for your product images in a comma separated format for example 50x,56x56,75x. If you are not sure the you can either check sizes under \media\cache\1\small_image folder or just simply save the configuration.
Small image sizes – Provide small images for your product images in a comma separated format for example 135x,120x120,100x. If you are not sure then you can either check sizes under \media/cache/1/image folder or just simply save the configuration.
Image sizes – Provide image sizes for your product images in a comma separated format for example 900x,988x988,750x. If you are not sure then you can either check sizes under \media\cache\1\image folder or just simply save the configuration.
Override Cache Folder Sizes – This allows you to override default cache folder i.e. 9df78eab33525d08d6e5fb8d27136e95 either completely or by size. To replace completely just add the new cache folder name for example 040ec09b1e35df139433887a97daa66f and for size it will be delimited for example 135x|040ec09b1e35df139433887a97daa66f; 125x125|17f82f742ffe127f42dca9de82fb58b1
Backup Images – Enable this feature to backup original images before compressing original file.
Debugging – This will create optimizeImages.log file under var/log folder.
You can compress product images by enabling module from Admin > Stores > Configuration > Optimize Images > Enabled – “Yes” > Compress Images while uploading – Select “Product”.
You can compress category images by enabling module from Admin > Stores > Configuration > Optimize Images > Enabled – “Yes” > Select “Category”.
You can compress CMS images by enabling module from Admin > Stores > Configuration > Optimize Images > Enabled – “Yes” > Select “CMS”.
If you have a question related to this extension please check out our first. If you can't find the answer you are looking for then please contact .