How to use EWWW Image Optimizer
Once you have EWWW configured the way you want, it’s time to start using it. So I'm going to show you how to use the plugin to get all your images optimized. The EWWW Image Optimizer automatically optimizes any images uploaded to your Media Library. To show you that, let's do a sample post.In WordPress 4.0, they introduced grid mode for the Media Library. To see how much images have been optimized, we’ll switch over to list mode. We can see the savings here, and if we have WebP support enabled, you’ll see the size of any WebP images too. Also, we can re-optimize (if we've changed some settings), attempt to convert an image, or restore a converted image back to the original format. The plugin keeps track of every image optimized in a special database table to prevent accidental re-optimization by the bulk tools. However, using the links on the Media Library forces the plugin to re-optimize the image anyway. In the Media Library we can also select images and use the drop-down actions to optimize small batches of images.If you have images you've already uploaded, you can use the Bulk Optimize tool to optimize those. The Bulk Optimizer has resume capability, so if it gets interrupted, you can start back where you left off. It also skips previously optimized images, but you can check the box to force re-optimization for Media Library images. If you didn't set the Bulk Delay option on the settings page you can still set a delay here before you begin optimizing your images.
The Bulk Optimizer will also scan and optimize images in your Theme, buddypress, metaslider and a few other plugin folders. As I mentioned, the plugin keeps track of these images in a special table so that they don't get re-optimized and waste server resources. This is extra important if you use the scheduled optimization to automate this process. If you want to see the images that have been compressed, click Show Optimized Images, and it will let you browse through them, as well as remove any that you might like to re-optimize. This is also where you can check to see if images generated by a particular plugin are being optimized automatically, which takes us to one of the advanced options.
The plugin also lets you specify folders to include in the scan for images that aren't included by default. If the images created or uploaded by a plugin are showing up in the table, you can include the folder that the plugin is using in Folders to optimize so that you can optimize past images, but you should remove the setting after running a Scan & Optimize the first time. If images created by a plugin do not show up in the table when you upload them, you should leave the folder in the settings, and enable the scheduled optimization option. You can also request that I include such a folder in future versions of the EWWW Image Optimizer. EWWW IO also has native support for NextGEN gallery, Grand Fla Gallery, and Nextcellent Gallery. Images uploaded to those galleries are all automatically optimized, and each of these have their own Bulk Optimization pages.Beyond all that, the EWWW Image Optimizer extends the built-in wp_image_editor class and this allows automatic optimization of images for any plugin that uses the built-in Wordpress image editing functions. Metaslider and the WP Retina 2x plugin are a couple examples, but there are many others using these functions for processing images. Of course, any images processed by the wordpress_image_editor functions will be tracked in the custom table as well. This allows us to alert you if a plugin is not caching or saving the images it generates. If you ever get such a warning, and you aren’t sure what to do about it, just ask and I’ll help you pinpoint the problem.So that's pretty much it. Once you've configured the plugin, and run the Bulk Optimization on your images, EWWW will continue to keep your images optimized as you upload them. Happy Optimizing!