Image compression allows you to save disk space, traffic, and speed up your site for visitors. Below is a list of some useful plugins for compressing images in WordPress.
All of the mentioned plugins are in the official WordPress.org directory, and are distributed for free under the GPL license. Despite this, some of them use external paid services for image compression, or paid versions of the plug-in with additional functionality that may be distributed under other licenses.
1. WP Smush
WP Smush plugin developed by WPMU DEV, and uses an external service to compress images. Immediately after activation, the plugin offers to compress all existing files in the library, and also begins to automatically compress new downloaded images. At the time of writing, this plugin has more than 400 thousand active installations.
Note that the free version of the plugin has some limitations, for example, the maximum size of files for compression is only 1 megabyte, the compression of several images is only 50 pieces at a time. The paid version can be purchased with WPMU DEV subscription costing $ 49 per month.
2. EWWW Image Optimizer
EWWW Image Optimizer uses optipng, pngquant, jpegtran, and other free tools to efficiently compress images in WordPress. These utilities are included in the distribution of the plug-in as executable files and run by the plugin via the PHP function.
exec (), which for many hosting providers is disabled for security purposes.
There is also a paid version of EWWW Image Optimizer Cloud, which, like WP Smush, uses an external service for compression and optimization, which is more compatible with the hosting sites and does not create additional load on your server. The cost of compression – 0.5 cents per image for the first 1000 pieces.
3. TinyPNG / TinyJPG
Initially, TinyPNG appeared as an online service and API for developers, allowing you to compress PNG images. Then the developers of TinyPNG created a version for JPEG images, and plug-ins for WordPress and Magento that allow you to automatically compress all downloaded images using their online service.
To use the plugin, it is enough to get the API key from the TinyPNG website. It allows you to compress up to 500 images per month for free, which, as a rule, taking into account all the thumbnails, is enough for 100 media files in WordPress. Pay API access starts at $ 0.009 per image.
4. ShortPixel Image Optimizer
ShortPixel Image Optimizer is a plugin and service for compressing images in WordPress. The free plan includes compression of up to 100 images per month, and does not differ in quality of compression from the paid versions, which start at $ 5 per 5000 files per month. The plugin also allows you to restore the originals at any time.
5. Kraken Image Optimizer
The Kraken.io service is characterized by high speed and very good quality of image compression, both with loss of quality (lossy) and without (lossless). Their plugin integrates the service with the WordPress media library, making it easy to compress new and already existing images.
The free version of this plug-in / service allows you to test it only within the quota of 100 megabytes. Paid subscriptions start at $ 5 per 500 megabytes per month.
Imagify is a service from the creators of the popular WP Rocket caching plug-in, and integrates well with WordPress. The trial version of Imagify has a quota of 25 megabytes, paid subscriptions from $ 5 per 1 gigabyte of data per month, which according to the developer, lasts about 10,000 images.
7. Resize Image After Upload
The Resize Image After Upload plugin automatically reduces the size of downloaded images in WordPress, and saves originals instead. This allows you to significantly save disk space for those who often use files from digital cameras, the size of which reaches 20 MB and more.
Remember to increase the maximum file size if you want to upload large images to your WordPress library.
It is also worth mentioning that some hosting and CDN providers, or reverse proxies (for example, CloudFlare, Incapsula, etc.) automatically compress transmitted images and other files on the fly.
Do you use image compression on your WordPress site? If so, which ones? Share your opinions in the comments.