60-day Money Back


Frequent Update


365-day Support

Image Optimizer for Magento 2


Magento 2 Image Optimizer extension is the essential solution for Magento 2 store site to compress and optimize images. Optimizing images contributes to speed up page load, enhance user experience and increase conversion rate significantly.

Total price:


Magento 2 Image Optimizer for Magento 2.2.x, 2.3.x, 2.4.x CE/EE/B2B/Cloud/ Adobe Commerce 2.2.x, 2.3.x, 2.4.x


Around 90% of shopping sites are graphics dependent and therefore there are a large number of image files. As a result, when the images on site is too heavy in file size, it will affect the speed of page loading considerably.

More importantly, this worsens customer experience during their shopping on an online store. If a page takes more than 3 seconds to load, users are likely to abandon it. With online stores, the customers’ impatience of waiting for page loading is one of the key factors of bounce rate and then lower conversion rates.


  • Improve page loading speed
  • Better Searching Engine Optimization (SEO)
  • Boost conversion rate
  • Enhance customer experience
  • Less bandwidth usage, better for browser

Optimize multiple image types

Magento 2 Image Optimizer supports store admins to compress various types of images including PNG, JPG, GIF, TIF and BMP. These are the most popular image formats that all online stores are using to upload the pictures of products, services and more. Compressing the image size will optimize the performance of the store site.

With Image Optimizer extension, store admins can lighten the images on the site easily and conveniently right from the admin backend with some simple clicks. Compress to get light images to rocket the store site!

Image optimization quality - Lossless or Lossy

The most interesting feature of Image Optimizer is allowing store admins to set compression level. There are two compression options: Lossless and Custom (Lossy). Two types will bring out the difference in image quality and file size.

Lossless is a filter that compresses the data, which allows you to retain image quality while reducing the file size. Lossless will remove unnecessary meta data from image files. The trade-off is that there is little decrease in file size.

Meanwhile, Custom (Lossy) compression means that there is the loss of data of the original image file. The biggest advantage of lossy impression is the significant reduction in file size. However, the biggest con is the loss of quality. With Image Optimizer extension, the users can set the quality percent they would retain after the compression process with slight visible loss in image quality. The compression level as well as optimized image quality is under your full control.

Automated optimization process

The image compression can be activated on a frequent basis with the support of cron running. Store admins do not need to take time to compress manually when Cron function is enabled.

Magento 2 Image Optimizer will periodically scan to notify about the optimization status of available images. Then, the optimization process will be activated at a certain time frequently to compress the scanned images. Both scan and optimization actions can be auto-activated by cron, which saves a lot of time for store admins.

Back up original images

Making modifications should go along with backup. Automatic backup by Image Optimizer keeps the original images safely and support store admins to roll-back any image if necessary. All backup images are stored properly in a certain image directory, which is ready-to-use anytime.

The backup function helps store admins feel comfortable to try on image modifications without the worry about the loss of the original version.

Included and excluded image directories

The image scan can be assigned to specific directories of the store site. From the admin backend, store admins can set the included directories whose images are scanned and the excluded directories which are skipped to scan.

With directory separation, scan becomes time-saving and focusing. Some directories require original images with full quality will not be considered in the optimization process.

More Features
Check out more details of Image Optimizer

Force File Permission

Force file permission

Assign access rights to the optimized image path by number, for example, 777 meaning no restrictions on permissions including read, write and execute.

Skip transparent image

Skip transparent image

Skip transparent images during optimization process

Record, requeue and restore

Record, requeue and restore

Record all scanned paths, optimization status, original size, optimized size, optimized percent, error message. Allow to change optimized image to pending status and able to re-optimize. Able to restore optimized images to original images.

Run manually

Run manually

Able to optimize images manually by clicking on the Optimize button at the Manage Images grid

Bulk compress

Bulk compress

Able to select multiple image paths and compress at the same time.

Command line

Command line

Support command line to optimize images quickly and conveniently

Choose your suitable edition


Crafted for a great webstore start $ 99 first year
  • 1-year extension updates
  • 1-year support
  • 60-day money-back guarantee
  • Read our policies
  • Supports for Magento 2 Community Edition


Great for an enterprise solution $ 299 first year
  • 1-year extension updates
  • 1-year support
  • 60-day money-back guarantee
  • Read our policies
  • Supports for Magento 2 Enterprise Edition
  • Highest priority support

Full features list

Image Optimizer supports the most popular image types including PNG, JPG and GIF.

Firstly, the extension will scan all images (of the included directories). Then, the scanned files will be optimized.

Yes, definitely. With cron, you can set the schedule for image scanning and optimizing automatically on a frequent basis.

With Image Optimizer, you can select two types: Lossless or Custom. With Lossless, you can retain image quality (or maybe a very slight loss) while reducing the file size. With Custom, you will define the quality percent of optimized images. However, please consider this point that the smaller file size, the worsen image quality.


19 April 2022


This extension helps a lot for my SEO. Awesome!

Ludmila -Verified Purchase
16 April 2021

Image Optimizer

I have installed it for image compression and after using this extension my website speed performance is very quickly and fast. and optimize image via Cron Job is very amazing. Thanks, Mageplaza team

faraz bashir -Verified Purchase
04 February 2021


Mageplaza is my go-to when I need a new extension. This one is perfect to improve page loading speed and I also think the automatic backup is a great feature. I highly recommended this

Omar -Verified Purchase
27 January 2021

Great module!

A very good module for images optimization! A must have!

Lorenzo -Verified Purchase
12 September 2019

Surely recommend!

This is undoubtedly a must-have module for optimizing images. It has this cool Cron feature that helps me to scan and compress images automatically so no longer need to do the whole process manually.

Debra -Verified Purchase

Leave a Review

How do you rate this product?

Your email address on Mageplaza's store

Plain text, no HTML tags.

Use case 1: Create any new customer attribute in the registration form

Business goals:

  • Generate and add any customer attribute field into the form.

Default Magento technical limitations:

  • In a default Magento store, the registration form is limited with only name, date of birth, and tax number.


  • Allow you to make new input fields without limitation. There are 11 input types available.
  • You can configure the question label, type of input, and more advanced properties.

Use case 2: Create a multi-option field in the customer's registration form

Business goals:

  • Create an input field with multiple options for users to choose from.

Default Magento technical limitations:

  • As mentioned above, there is no feature to make multiple select fields.


  • Provide options in the form for customers to choose with Dropdown, Multiple Select, Multiple Select with image, and Single select with image. For example, if you want to limit the answers of the consumers, such as with payment methods or cities available for shipping, this is a great way to collect those data from users and set expectations on your service.

Use case 3: Let users upload their files when providing information

Business goals:

  • Allow buyers to attach their files while on the website.

Default Magento technical limitations:

  • A default Magento form won't be able to have a file attachment field.


  • Let users upload images or other files with a "Choose File" button. For example, if your business requires an authentication photo when signing up or filing for a refund, this option is valuable.

Use case 4: Enter the customer's information in the form from the backend

Business goals:

  • Create a new customer account and write in the necessary data.

Default Magento technical limitations:

  • You have no way to generate a new account with new fields from a default Magento backend.


  • Allow admins to create a new user account and fill in attribute fields just like how a customer would do. For example, if, for some reason, your customer can't access the registration, you can help them to make a new account and continue processing the order.

Use case 5: Validate the user's data by setting up the right formats

Business goals:

  • Prevent the users from entering improperly formatted data.

Default Magento technical limitations:

  • There's no way to validate the user's data with a default Magento backend.


  • Set the value for an attribute field with formats of letters, numbers, URLs, and emails. For example, when a customer enters their postal code or phone number, make the value number only so they won't write in the wrong format of information.

Use case 6: Integrate information fields into the checkout process

Business goals:

  • Add extra customer attributes to the checkout page.

Default Magento technical limitations:

  • It's impossible to upgrade the checkout process with more information fields.


  • The Customer Attributes extension is compatible with the One Step Checkout extension, providing flexibility in adding more information inputs to the checkout page.

Don't see the features you are looking for?

Request feature

Submit your feature requests below

Want to do extension customization?

Custom request

Let us know your requirements


  • v4.1.1

    28 December 2021

    • Fixed minor bugs
  • v1.1.1

    28 December 2021

    • Fixed minor bugs
  • v1.1.0

    26 October 2021

    • Added image optimizer with Webp extension
    • Fixed minor bugs
  • v4.1.0

    26 October 2021

    • Added image optimizer with Webp extension
    • Compatible with Magento v2.4.3
    • Fixed minor bugs
  • v4.0.0

    30 October 2020

    • Supported Magento v2.4.0
  • v1.0.2

    25 June 2020

    • Fixed error while checking file exist
  • v1.0.1

    24 February 2020

    • Fixed scan image error
    • Fixed cannot delete image after optimizing
  • v1.0.0

    30 August 2019

    Initial release

Image Optimizer's Full Features

For store admins


Manage Images

  • View scanned image paths
  • View status after scanning and optimizing
  • View original and optimized file size
  • View optimization percent
  • View error messages in case there are errors during optimizing
  • Requeue images to pending status
  • Restore images to original images
  • View progressing percent by status: Pending, Error, Skipped, Success
  • Show popup when bulk compress multiple images or click on optimize button
  • Run command line to process optimizing quickly and conveniently

Optimize Options

  • Select image quality: Lossless or Custom
  • Select quality percent of images after being optimized
  • Allow/ Disallow skipping transparent images
  • Allow/ Disallow force file permission


  • Enter included directory which scan are accessible
  • Enter excluded directories which scan are not accessible

Cron Job

  • Enable/ Disable image scan
  • Set scan schedule
  • Enable/ Disable image optimization
  • Set optimization schedule

For customers

  • Access page information faster
  • Not waste too much of time wasting for page loading
  • Have better shopping experience
Why choose us?

Mageplaza provides consistent and customer-centric extensions for your Magento 2 store.

We don't sell products for one time. We provide lifetime solutions which help our customers thrive with their businesses.



60-day Money Back

Extensive 60-day money-back period. You love it or get a full refund no questions asked.


Extensive Support Timeframe

Mageplaza provides support 16 hrs/day, 5.5 days/week to guarantee the seamless operation of our extensions on your store.


Install via Composer

Simple installation via composer helps you save time and eliminates technical issues during future updates.


Frequent Updates

Intensive update roadmaps ensure great performance, bug-free, highly compatible, and innovative extensions.