Image Optimizer

Description Image Optimizer allow to use free Image optimization based on API. provides image size reduction based on several advanced algorithms. The API accept JPG, PNG and GIF files up to 5MB.

This plugin includes a bulk operation to optimize all your pictures in 2 clicks ! Change your image optimization level to fit your needs !
This service is used by thousands of websites on different CMS (Drupal, Joomla, Magento, Prestashop…).

The plugin includes an option to exclude some pictures of the optimizer.

Since Aug. 2016, allows to optimize pictures up to 5MB, for free !

This plugin has initially been developped by Maecia Agency, Paris.


  • The simple interface


  1. Upload resmushit-image-optimizer to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. All your new pictures will be automatically optimized !


Installation Instructions
  1. Upload resmushit-image-optimizer to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. All your new pictures will be automatically optimized !
How great is ?

Since we’ve optimized more than 3,000,000,000 pictures, we’ve risen new skills. Our service is still in development to bring you new crazy functionalities.

Is there an “Optimize on upload” feature ?

Absolutely, this feature is enabled for all new pictures to be added, and can be disabled on will.

Can I choose an optimisation level ?

Yes, by default the optimization level is set at 92. But you can optimize more your pictures by reducing this optimization level.

Can I go back to my original pictures ?

Yes, by excluding/reverting this asset you’ll have your original image available.

Is it possible to exclude some pictures from the optimizer ?

Yes, since version 0.12, you can easily exclude an asset from the optimizer.

Have I a risk to lose my existing pictures ?

Nope ! Image Optimizer creates a copy of the original pictures, and will perform optimizations only on copies.

Is it free ?

Yes ! Absolutely free, the only restriction is to send images below 5MB.


Work very well

I use this plugins on my projects and he work very well !

The best pic compress that I can find.

Thanks !


I love it, but *

I tested a bunch of plugins to optimize my images and this one is by far the BEST.

It would be perfect, if there was an option to delete the original images, to save some webspace. I know, that you optimize the images for a the exact size, they are shown and after deleting the originals, you can’t resize the images … otherwise you would loose a lot of quality … BUT I’m a photographer and I upload tones of images every week, for me theres no need to resize the images after optimizing them.

perfect plugin

After trying many different plugins finally my hunt ended here – this plugin worked perfectly for me – just too good.

Error : Memory_limit reached


I try this plugin but i have 100.000+ images on my database.

The plugins break the memory_limit set to 512M, when we try to get all the image.

To avoid this problem, i just edit and add the year (2018) in the biggest request.

And set it to 2018 only.

It’s work for me ;).


File : resmushit.class.php

$queryAllPictures = $wpdb->prepare(
$wpdb->posts.ID as ID,
$wpdb->posts.guid as guid,
$wpdb->postmeta.meta_value as file_meta
from $wpdb->posts
inner join $wpdb->postmeta on $wpdb->posts.ID = $wpdb->postmeta.post_id and $wpdb->postmeta.meta_key = %s
where $wpdb->posts.post_type = %s
and $wpdb->posts.post_mime_type like %s
AND YEAR(post_date) = ‘2018’
and ($wpdb->posts.post_mime_type = ‘image/jpeg’ OR $wpdb->posts.post_mime_type = ‘image/gif’ OR $wpdb->posts.post_mime_type = ‘image/png’)”,
array(‘_wp_attachment_metadata’,’attachment’, ‘image%’)

Best image compression on the market

We used wp_smush pro before as a former member of WPMUDEV which is using the same base code originated form the Yahoo It was the WPMUDEV marketing strategy which glued and actually fooled us. $600/year for something you can get much much better here with for free
Fortunately a friend pointed us to and since 1 year it gets installed in all our customer sites – mostly governmental related and often with tons of images.

We build those sites using DIVI which works just perfect together with Before we had problems when using hummingbird and wp_smush and DIVI as that absolutely did not play nice together.

Now we use swift performance, and DIVI and never had any problems and best of all achieving 100/95+ scores on GTMetrix all the time. Before with wpsmush pro and hummingbird, we made it at maximum to 95/85.

We recently started to build sites also with OXYGEN v.2 and also here is the best asset for the sites causing absolutely ZERO problems and best results. Keep up the good work!

Read all 49 reviews

Contributors & Developers

“ Image Optimizer” is open source software. The following people have contributed to this plugin.




  • Add correction for allow_url_fopen support
  • News feed loaded from a SSL URL


  • Log rotate if file too big


  • Tested up to WordPress 4.9.5
  • New contributor (resmushit)
  • Translation completion


  • Tested up to WordPress 4.9.1
  • New header banner for 3 billionth images optimized 🙂


  • Tested up to WordPress 4.8.1


  • New header banner for 2 billionth images optimized 🙂


  • Slovak translation fix


  • Slovak translation fix


  • Italian translation added (thanks to Cristian R.)
  • Description minor correction


  • Slovak translation added (thanks to Martin S.)


  • Bug fix when images uploaded > 5MB
  • List of files above 5MB
  • Translation minor corrections


  • Error management if webservice not reachable
  • Filesize limitation increased from 2MB to 5MB


  • CSS Fixes


  • Translation correction
  • News feed images correction


  • Delete also original file when deleting an attachment
  • Exclusion of an attachment of the optimization (checkboxes)
  • Adding french translation
  • Code optimizations
  • 4.6.x check
  • Minor bugs corrections


  • Optimize on upload
  • Statistics
  • Log services
  • Interface rebuild
  • News feed from


  • plugin base
  • bulk optimizer