Image Optimization

Description

Our Image Optimization for Magento 2 reduces the image size, thus, helps the Magento pages load faster.

Key features:

  • Optimization of JPEG, PNG, GIF files
  • Automatic search for all images in Magento
  • Protection from over-optimization
  • Automatic optimization via cron
  • Possibility of rolling back changes
  • Smooth installation without extra utilities
  • Smart algorithm of swift search and speedy optimization

Find out how to install the Image Optimization for Magento 2 via Composer.

NOTE

All Aitoc extensions can be customized to fit particular business needs. If you have questions about any customization, please drop a message at support@aitoc.com

Configuration

General

Go to STORES → CONFIGURATION → AITOC EXTENSIONS → IMAGE OPTIMIZER → GENERAL to configure the extension.

Here you can Enable/Disable it.

Choose 'Yes' to use the extension features. Support image types: JPEG, PNG, GIF.

Status

In this section, you're able to see optimization status of modified images. Also, you can find the Last Scan and the Last Optimization data.

NOTE

If an image has already been optimized but modified afterward for some reason, then our extension automatically identifies this image and re-optimize it.

Advanced Options

You can 'Optimize Current Directories': select 'Add' button to enter the path into the path field. The entered paths will be scanned with images in that path.

For example:

NOTE

Click on to remove the Directory from the 'Folder Name' column.

Also, you can 'Exclude Directories From Optimization': select 'Add' button to enter the path where you don’t want to scan the image in that folder.

For example:

Moreover, the extension compresses images using pngquant, optipng, jpegoptim and gifsicle tools. They are placed in app/code/Aitoc/ImageOptimization/tools

If it is required by your environment security settings to keep such tools under other directory, you could use the 'Custom Path To Directory With Optimization Tools' setting.

NOTE

After configuring, don't forget to click on

Processed Images Grid

Processed images are set up in SYSTEM → PROCESSED IMAGES.

Also, on this handy grid, you can find:

  • ID
  • Path
  • Status
  • Result
  • Action

In the Action column, you can

In order not to select each picture individually, you can mark them with a tick and choose the option that suits you in our 'Actions' drop-down menu:

NOTE

Click on and you will return to the extension configuring page.

THANK YOU FOR CHOOSING AITOC EXTENSIONS!