Magento 1.9: compress images & PDF [archive]

Install Magento Image Compression Module

Here's the module link to install on Magento. 
Note: this module is for Magento 1.9 only, the Magento 2 image compression is done using the new Standalone script

 

The extension can be installed through Magento connect manager by uploading the zip files in the extension manager. From Magento admin panel click on System > Magento connect > Magento connect manager.

extension magento

 

Then login to the connect center and generate the extension key to install it. Extension page: http://www.magentocommerce.com/magento-connect/imagerecycle-image-pdf-optimize.html

extension key magento

 

Then paste the key and hit Install button

magento connect

 A successful install message should then be returned by the console.

 

Authenticate with your API key

Once the module is installed, a new entry in the System menu should appear, named ImageRecycle. 

Magento image optimizer

 

From this module view you can see all your existing images listed. Before starting optimization, the first step is to add your API key from the settings.

API image compress magento

 

Add your API key

From the menu "Account and Quota" (on ImageRecycle website) you can get or generate an API Key. For the main account the key is automatically generated.

API image optimization

Then copy-paste the API Key and API Secret in your Magento module settings.

Copy key magento

 

Using a sub-account

Subaccount creation button with dedicated API key are right bellow on your account and quota menu. Subaccounts are unlimited and each sub-account have a dedicated quota. Once you use the sub-account API key, the image quota will be deducted from this sub-account quota.

You can use the sub accounts or the main account API key on unlimited Magento websites.

sub account API

 

Optimize existing & new images/PDF

New images are automatically optimized on upload if you've set the plugin to optimize this file format. With the Magento module you have also the possibility to optimize already existing images. You can do that one by one or select some element and use the bulk options.

main interface magento

 

You can optimize already existing images and PDF one by one or use the bulk menu to apply a compression on several elements. You can also revert to original if needed during the backup storage time (1 month), images will be replaced on your server automatically.

bulk image pdf treatment

 

The bulk menu "Optimize all images" will run the process of optimization of all your content.

optimize all magento

 

Images auto resizing

You have option to activate an auto image resizing. It means that all the images stored on your server will have the max size specified in this option.

image auto resize

 

Optimization quality

Quality options can be defined per content type. For example, if you want to disable PDF optimization to keep original quality for print, you can select No compression as PDF compression parameter.

optimization quality

 

Optimization exclusion

You have advanced exclusion parameter that let you exclude/include specified server folders from optimization.This parameter is very useful for third party modules or themes that add their own folders. You can also define a range of file size for your optimization.

A good setup here avoid applying compression on unneeded images, ie. the content not displayed on public side of your Magento website.

exclusion optimization


rating star

ImageRecycle - Magento image compression

"A bunch of parameters are available to fit all Magento configuration, but the default parameters giving the best results... Plus, the developer is also there to reply immediately to any questions."

Rated 5.0/5 based on 322 reviews

Linguise translation mobile