EWWW Image Optimizer Cloud


EWWW Image Optimizer Cloud is a WordPress plugin that will automatically optimize your images as you upload them to your blog. It can optimize the images that you have already uploaded, convert your images automatically to the file format that will produce the smallest image size, and even apply lossy reductions for PNG and JPG images for high compression while retaining image quality.

Why use EWWW Image Optimizer Cloud?

  1. Your pages WILL load faster. Smaller image sizes means faster page loads. Faster page loads means more revenue, and who doesn’t want that?
  2. Faster backups. Smaller image sizes also means faster backups.
  3. Less bandwidth usage. Optimizing your images can save you hundreds of KB per image, which means significantly less bandwidth usage.
  4. Better Privacy. The cloud servers do not store any images after optimization is complete, and you retain all rights to any images processed via the cloud service.
  5. Root access not needed No binaries needed on your local server, so it works on any hosting platform.
  6. Optimize everything With the wp_image_editor class extension, and the ability to specify your own folders for scanning, any image in WordPress can be optimized.

By default, EWWW Image Optimizer Cloud uses lossless optimization techniques, so your image quality will be exactly the same before and after the optimization. The only thing that will change is your file size. The one small exception to this is GIF animations. While the optimization 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 optimization for JPG and PNG files uses sophisticated algorithms to minimize perceptual quality loss, which is vastly different than setting a static quality/compression level.

Images are optimized via cloud servers that utilize the latest tools available in lossless or lossy mode. Your images can optionally be converted to the most suitable file format.

EWWW Image Optimizer Cloud offloads all optimization to designated servers which will allow the plugin to work on any hosting platform. The lossy compression options use special algorithms to gain maximum compression with minimal loss of quality. Using the EWWW I.O. Cloud can also be desirable if you cannot, or do not want to use the exec() function on your server, or prefer to offload the cpu demands of optimization for any reason. This is an ideal setup for web developers who can install this plugin for their clients with no risk due to the potentially insecure exec() function.

If you want to optimize images on your own server without using the API, see the EWWW Image Optimizer.


If you need assistance using the plugin, please visit our Support Page. The forums are community supported only.

Bulk Optimize

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 Optimized Images

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

WP Image Editor

All images created by the built-in WP_Image_Editor class will be automatically optimized. Current implementations are GD, Imagick, and Gmagick. Images optimized 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, send an inquiry via the support page.

Optimize Everything Else

Site admins can specify any folder within their WordPress folder to be optimized. The Bulk Scan under Media->Bulk Optimize will optimize 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 optimized. Scheduled optimization 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.


Allows you to run all Bulk Optimization 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 optimized. Previous uploads can be optimized by running the Media Library Bulk Optimize. Previously cached images can be optimized by entering the wp-content/uploads/cache/ folder under Folders to Optimize and running a Scan & Optimize from the Bulk Optimize page.

NextGEN Gallery

Features optimization on upload capability, re-optimization, and bulk optimizing. The NextGEN Bulk Optimize function is located near the bottom of the NextGEN menu, and will optimize all images in all galleries. It is also possible to optimize 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 optimization on upload capability, re-optimization, and bulk optimizing. The Bulk Optimize function is located near the bottom of the FlAGallery menu, and will optimize all images in all galleries. It is also possible to optimize groups of images in a gallery, or multiple galleries at once.

Image Store

Uploads are automatically optimized. Look for Optimize under the Image Store (Galleries) menu to see status of optimization and for re-optimization and bulk-optimization options. Using the Bulk Optimization tool under Media Library automatically includes all Image Store uploads.

CDN Support

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

WPML Compatible

Tested regularly to ensure compatibility with multilingual sites. Learn more at https://wpml.org/plugin/ewww-image-optimizer/


Huge thanks to all our translators! 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-cloud
To receive updates when new strings are available for translation, you can signup here: https://ewww.io/register/

Contact and Credits

Written by Shane Bishop. Based upon CW Image Optimizer, which was written by Jacob Allred at Corban Works, LLC. CW Image Optimizer was based on WP Smush.it. PEL is the work of Martin Geisler, Lars Olesen, and Erik Oskam.
Hammer designed by John Caserta from The Noun Project.
Images designed by Simon Henrotte from The Noun Project.


  1. Upload the ‘ewww-image-optimizer-cloud’ plugin to your ‘/wp-content/plugins/’ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Purchase an API key via https://ewww.io/plans/.
  4. Enter your API key on the plugin settings page.
  5. Optional Visit the settings page to adjust compression levels and turn on advanced optimization features.
  6. Done!

Additional documentation can be found at http://docs.ewww.io. If you need further assistance using the plugin, please visit our Support Page. The forums are community supported only.


Installation Instructions
  1. Upload the ‘ewww-image-optimizer-cloud’ plugin to your ‘/wp-content/plugins/’ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Purchase an API key via https://ewww.io/plans/.
  4. Enter your API key on the plugin settings page.
  5. Optional Visit the settings page to adjust compression levels and turn on advanced optimization features.
  6. Done!

Additional documentation can be found at http://docs.ewww.io. If you need further assistance using the plugin, please visit our Support Page. The forums are community supported only.

Google Pagespeed says my images need compressing or resizing, but I already optimized all my images. What do I do?


Does the plugin replace existing images?

Yes, but only if the optimized version is smaller. The plugin should NEVER create a larger image.

Can I resize my images with this plugin?

Yes you can, check the Advanced settings.

Can I lower the compression setting for JPGs to save more space?

The lossy JPG optimization using TinyJPG and JPEGmini will determine the ideal quality setting and give you the best results, but you can also adjust the default quality for conversion and resizing. More information: http://docs.ewww.io/article/12-jpq-quality-and-wordpress

The bulk optimizer doesn’t seem to be working, what can I do?

If it doesn’t seem to work at all, check for javascript problems using the developer console in Firefox or Chrome. If it is not working just on some images, you may need to increase the setting max_execution_time in your php.ini file. There are also other timeouts with Apache, and possibly other limitations of your webhost. If you’ve tried everything else, the last thing to look for is large PNG files. In my tests on a shared hosting setup, “large” is anything over 300 KB. You can first try decreasing the PNG optimization level in the settings. If that doesn’t work, perhaps you ought to convert that PNG to JPG or set a max PNG optimization size. Screenshots are often done as PNG files, but that is a poor choice for anything with photographic elements.

I want to know more about image optimization.

That’s not really a question, but since I made it up, I’ll answer it. See these resources:


Is this even a real Plugin?

Signed up for the $1 for a huge number of images deal. Billed 6 bucks 30 days later and am told that even though I only have a few dozen images on my entire web site, I used thousands of images. Huh? Scammer…I am a neophyte, admittedly, but I don’t think the app does anything except infiltrate your system. I notice absolutely no difference with or without the app. That says a lot. We are talking a few dollars here…but I wouldn’t mind a few dollars from a few hundred people every month for doing nothing.

Best working image optimizer plugin

The support from the plugin author is excellent. This is the only plugin that I managed to get it to work with WP S3 Offload plugin. If you want your site to load fast, with only a slight lag to upload/process speed on the editor, this plugin is a must.

Can’t use

oh boy, I can’t use the cloud version because I can’t pay internationally and I can’t use the other plugin because of exec().

Good plugin

We started using this plugin 1 week ago and have now optimized all our existing images.

We slices off a 20-50 MB from the uploads in total per sites.
Sometimes as much as 80 MB.
(Note that our sites that we host has a lot of uploads.)

We used the “Meteor Monthly” program (pay-as-you-go) and it worked well.

We saved a lot of server capacity and configuration by using the cloud service instead of installing all the binaries on our own server.

Thumb up, i recommend!

Good compression but stalls site

I have tested this plugin for the past month and found it to be working BUT…

When a single image is chosen to be compressed it causes the entire site to stall. This eventually leads to a 522 error while the image is being compressed in the cloud. When several images are selected to be bulk optimized I get: “Temporary failure, seconds left to retry…”

I contacted my hosting provider about the issue and they say that it is due to the long waiting time between the WordPress plugin and the EWWW cloud. I also contacted EWWW support but no solution was found to the problem.

I will continue to use it until my credits have been used and then I will use an alternative image compression tool.

Best regards,

Read all 18 reviews

Contributors & Developers

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


“EWWW Image Optimizer Cloud” has been translated into these 3 locales: Bulgarian, German (Formal), Romanian. Thank you to the translators for their contributions.

Translate “EWWW Image Optimizer Cloud” into your language.

Interested in development?

Browse the code or subscribe to the development log by RSS.


  • Feature requests can be submitted via https://ewww.io/contact-us/ and commented on here: https://trello.com/b/Fp81dWof/ewww-image-optimizer
  • If you would like to help translate this plugin in your language, get started here: https://translate.wordpress.org/projects/wp-plugins/ewww-image-optimizer-cloud/


  • added: move the Alt WebP script to an external resource by defining EWWW_IMAGE_OPTIMIZER_WEBP_EXTERNAL_SCRIPT
  • changed: API keys are partially revealed, for easier verification
  • changed: API key no longer uses password field to avoid problems with auto-fill
  • changed: default JPG and PNG compression moved to lossy and backups enabled
  • fixed: bulk delay setting not carried over to bulk optimizer
  • fixed: WP Offload S3 uploads images prior to background optimization, resulting in a second upload afterwards
  • fixed: single-site settings override not saving in certain cases on multisite
  • fixed: AMP pages are broken when Alt WebP is enabled with old versions of libxml (less than 2.8.0)
  • removed: unnecessary call to WP Offload S3 update function after optimization


  • added: optional usage tracking
  • added: close sessions even earlier in background/async handling to prevent lock-ups
  • added: multisite option to network activate and allow individual site configuration
  • changed: disabling resizes must be done on individual sites even when network activated
  • changed: PNG files with empty alpha channels can be converted to JPG without setting a background/fill color
  • fixed: webp migration script sending wrong nonce variable
  • fixed: wp-cli help text was not being parsed properly


  • added: alt webp supports Jetpack Carousel for image galleries
  • added: hard crop images during resizing using ewww_image_optimizer_crop_image filter
  • changed: plugin status on settings revamped to rely less on javascript
  • fixed: regression with scheduled optimizer scanning causing timeouts
  • fixed: alt webp compatibility with Divi Builder in Visual mode


  • added: optional image backups for API users, restore images from bulk optimize, or media library list view
  • added: relative file location support, automatically enabled for Pantheon, use EWWW_IMAGE_OPTIMIZER_RELATIVE and EWWW_IMAGE_OPTIMIZER_RELATIVE_FOLDER to enable elsewhere
  • added: filename as second parameter to ewww_image_optimizer_resize_dimensions filter
  • added: prevent accidental regeneration of an image resize with the built-in WP_Image_Editor, disable by defining EWWWIO_EDITOR_OVERWRITE
  • changed: JPG quality setting applies to WebP generation also
  • changed: retina images can be processed in background
  • changed: prevent sleep() and print_r() from running when disabled
  • changed: entire ewwwio_images table no longer loaded into memory when running bulk operation on small batches of images, or when the table is too large
  • changed: when resize optimization is disabled, Include Media Folders is disabled to prevent optimization of disabled sizes
  • changed: requires at least PHP 5.3
  • fixed: WP_Image_Editor integration was not disabled when using Regenerate Thumbs plugin, resulting in disabled resizes being ignored, and optimization not being backgrounded properly
  • fixed: Media Library Plus actions triggered optimization too early, preventing background optimization.
  • fixed: settings page would not load on very large multisite installs (1,000+ blogs) because of too many queries for total savings achieved
  • fixed: background optimization not working properly on multisite installs
  • fixed: imported attachments queued multiple times when plugins like Facebook Events Importer use media_sideload_image()
  • fixed: notice when clearing queues
  • fixed: when a background process is running, queues repopulate even after clearing all items
  • fixed: WP-CLI not dropping to low memory mode in constrained environments, causing incomplete scans
  • fixed: nextgen not showing optimization stats
  • fixed: proper i18n for strings that could contain singular and plural numbers
  • fixed: bulk scanner could skip images that need optimization when in ‘low memory’ mode
  • fixed: all JPG images down-sampled when only one of max height or max width is set
  • fixed: fatal error when both EWWW I.O. plugins are activated
  • fixed: edited images show active and backup compression results in media library