WordPress.org

English (Canada)

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

EWWW Image Optimizer

Reduce image sizes in WordPress including NextGEN, GRAND FlAGallery, FooGallery and more using lossless/lossy methods and image format conversion.

The EWWW Image Optimiser is a WordPress plugin that will automatically optimise your images as you upload them to your blog. It can optimise the images that you have already uploaded, convert your images automatically to the file format that will produce the smallest image size (make sure you read the WARNINGS), and optionally apply lossy compression to achieve huge savings for PNG and JPG images.

Why use EWWW Image Optimiser?

  1. Your pages will load faster. Smaller image sizes means faster page loads. This will make your visitors happy, and can increase revenue.
  2. Faster backups. Smaller image sizes also means faster backups.
  3. Less bandwidth usage. Optimising your images can save you hundreds of KB per image, which means significantly less bandwidth usage.
  4. Super fast. The plugin can run on your own server, so you don’t have to wait for a third party service to receive, process, and return your images. You can optimise hundreds of images in just a few minutes. PNG files take the longest, but you can adjust the settings for your situation.
  5. Best JPG optimisation. With TinyJPG integration, nothing else comes close (requires an API subscription).
  6. Best PNG optimisation. You can use pngout, optipng, and pngquant in conjunction. And if that isn't enough, try the lossy PNG option powered by TinyPNG.
  7. Root access not needed Pre-compiled binaries are made available to install directly within the WordPress folder, and cloud optimisation is provided for those who cannot run the binaries locally.
  8. Optimise everything With the wp_image_editor class extension, and the ability to specify your own folders for scanning, any image in WordPress can be optimised.

By default, EWWW Image Optimiser uses lossless optimisation techniques, so your image quality will be exactly the same before and after the optimisation. The only thing that will change is your file size. The one small exception to this is GIF animations. While the optimisation is technically lossless, you will not be able to properly edit the animation again without performing an --unoptimize operation with gifsicle. The gif2png and jpg2png conversions are also lossless but the png2jpg process is not lossless. The lossy optimisation for JPG and PNG files uses sophisticated algorithms to minimize perceptual quality loss, which is vastly different than setting a static quality/compression level.

The tools used for optimisation are jpegtran, TinyJPG, JPEGmini, optipng, pngout, pngquant, TinyPNG, and gifsicle. Most of these are freely available except TinyJPG/TinyPNG and JPEGmini. Images are converted using the above tools and one of the following: GMagick, IMagick, GD or 'convert' (ImageMagick).

EWWW Image Optimiser calls optimisation utilities directly which is well suited to shared hosting situations where these utilities may already be installed. Pre-compiled binaries/executables are provided for optipng, gifsicle, pngquant, cwebp, and jpegtran. Pngout can be installed with one-click from the settings page. If none of that works, there is a cloud option that will work for any site.

If you need a version of this plugin for cloud use only, see EWWW Image Optimiser Cloud. It is much more compact as it does not contain any binaries or any mention of the exec() function.

Support

If you need assistance using the plugin, please visit our Support Page. The forums are community supported only. The EWWW Image Optimizer is developed at https://github.com/nosilver4u/ewww-image-optimizer

Bulk Optimise

Optimize all your images from a single page using the Bulk Scanner. This includes the Media Library, your theme, and a handful of pre-configured folders (see Optimize Everything Else below). Officially supported galleries (GRAND FlaGallery, NextCellent and NextGEN) have their own Bulk Optimize pages.

Skips Previously Optimised Images

All optimised images are stored in the database so that the plugin does not attempt to re-optimise them unless they are modified. On the Bulk Optimise page you can view a list of already optimised images. You may additionally choose to remove individual images from the list, or use the Force optimise option to override the default behavior. The re-optimise links on the Media Library page also force the plugin to ignore the previous optimisation status of images.

WP Image Editor

All images created by the built-in WP_Image_Editor class will be automatically optimised. Current implementations are GD, Imagick, and Gmagick. Images optimised via this class include Animated GIF Resize, BuddyPress Activity Plus (thumbs), Easy Watermark, Hammy, Imsanity, MediaPress, Meta Slider, MyArcadePlugin, OTF Regenerate Thumbnails, Regenerate Thumbnails, Simple Image Sizes, WP Retina 2x, WP RSS Aggregator and probably countless others. If you are not sure if a plugin uses WP_Image_Editor, post your question in the support forums.

Optimise Everything Else

Site admins can specify any folder within their wordpress folder to be optimised. The 'Scan and Optimise' option under Media->Bulk Optimise will optimise theme images, BuddyPress avatars, BuddyPress Activity Plus images, Meta Slider slides, WP Symposium images, GD bbPress attachments, Grand Media Galleries, and any user-specified folders. Additionally, this tool can run on an hourly basis via wp_cron to keep newly uploaded images optimised. Scheduled optimisation should not be used for any plugin that uses the built-in WordPress image functions.

WebP Images

Can generate WebP versions of your images, and enables you to serve even smaller images to supported browsers. Several methods are available for serving WebP images, including Apache-compatible rewrite rules and our Alternative WebP Rewriting option compatible with caches and CDNs. Also works with the WebP option in the Cache Enabler plugin from KeyCDN.

WP-CLI

Allows you to run all Bulk Optimisation processes from your command line, instead of the web interface. It is much faster, and allows you to do things like run it in 'screen' or via regular cron (instead of wp-cron, which can be unpredictable on low-traffic sites). Install WP-CLI from wp-cli.org, and run 'wp-cli.phar help ewwwio optimize' for more information.

FooGallery

All images uploaded and cached by FooGallery are automatically optimised. Previous uploads can be optimised by running the Media Library Bulk Optimise. Previously cached images can be optimised by entering the wp-content/uploads/cache/ folder under Folders to Optimise and running a Scan & Optimise from the Bulk Optimise page.

NextGEN Gallery

Features optimisation on upload capability, re-optimisation, and bulk optimising. The NextGEN Bulk Optimise function is located near the bottom of the NextGEN menu, and will optimize all images in all galleries. It is also possible to optimise groups of images in a gallery, or multiple galleries at once.

NextCellent Gallery

Features all the same capability as NextGEN, and is the continuation of legacy (1.9.x) NextGEN support.

GRAND Flash Album Gallery

Features optimisation on upload capability, re-optimisation, and bulk optimising. The Bulk Optimise function is located near the bottom of the FlAGallery menu, and will optimise all images in all galleries. It is also possible to optimise groups of images in a gallery, or multiple galleries at once.

Image Store

Uploads are automatically optimised. Look for Optimise under the Image Store (Galleries) menu to see status of optimisation and for re-optimisation and bulk-optimisation options. Using the Bulk Optimisation tool under Media Library automatically includes all Image Store uploads.

CDN Support

Uploads to Amazon S3, Azure Storage, Cloudinary, and DreamSpeed CDN are optimised. All pull mode CDNs like Cloudflare, KeyCDN, MaxCDN, and Sucuri CloudProxy are also supported.

Translations

Huge thanks to all our translators! See the full list here: https://translate.wordpress.org/projects/wp-plugins/ewww-image-optimizer/contributors

If you would like to help translate this plugin (new or existing translations), you can do so here: https://translate.wordpress.org/projects/wp-plugins/ewww-image-optimizer To receive updates when new strings are available for translation, you can signup here: https://ewww.io/register/

Requires: 4.4 or higher
Compatible up to: 4.7.3
Last Updated: 3 weeks ago
Active Installs: 400,000+

Ratings

4.4 out of 5 stars

Support

38 of 47 support threads in the last two months have been marked resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2 100,1,1 100,2,2 100,2,2
100,2,2 100,1,1 50,2,1 100,1,1
100,1,1 0,1,0 100,5,5
0,1,0 100,1,1 100,3,3 100,1,1 0,1,0 100,1,1 100,1,1 0,1,0
100,1,1 100,1,1 100,2,2 100,2,2
100,1,1 100,5,5 100,1,1 100,2,2 0,1,0 100,4,4 100,3,3 100,3,3
75,4,3 100,1,1
100,5,5 100,2,2 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,2,2 100,1,1 100,1,1
100,1,1
100,1,1 33,3,1 100,5,5 100,1,1 100,2,2 100,1,1 100,1,1
100,3,3 80,5,4
100,8,8 33,3,1 100,1,1 100,6,6 100,1,1 100,6,6 100,2,2
100,5,5 50,2,1
100,2,2 100,2,2 100,3,3 100,6,6
100,5,5 100,2,2 100,1,1
100,1,1
100,4,4 100,3,3 100,4,4
100,7,7 100,2,2 100,1,1 100,1,1
100,1,1 100,1,1 92,12,11
78,9,7 0,1,0 67,3,2 100,2,2
100,1,1 100,1,1
100,1,1
100,2,2 100,1,1 100,2,2 75,4,3 100,1,1 100,3,3
50,2,1
100,2,2
100,2,2 100,2,2 100,2,2 100,2,2 0,1,0
100,2,2 0,2,0 100,1,1
100,2,2 100,3,3 0,1,0 100,2,2
100,3,3 100,2,2 100,1,1 100,1,1 100,1,1 100,2,2 100,2,2
100,1,1
50,2,1 100,1,1
0,1,0
100,1,1 100,1,1 100,2,2 100,3,3
100,1,1 100,1,1 100,1,1 100,2,2
100,2,2 100,1,1 0,1,0 100,1,1
0,1,0 100,3,3 100,1,1 43,7,3 100,1,1 100,2,2 100,3,3
100,1,1 0,2,0 100,4,4 100,3,3 100,1,1 100,1,1 100,1,1 100,1,1
100,2,2
100,1,1 50,2,1 100,1,1