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?
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.
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
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.
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.
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.
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.
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.
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.
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.
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.
Features all the same capability as NextGEN, and is the continuation of legacy (1.9.x) NextGEN support.
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.
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.
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.
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+
38 of 47 support threads in the last two months have been marked resolved.
Got something to say? Need help?