Image compression saves disk space, traffic, and speeds up your site for visitors. Below is a list of some useful image compression plugins for WordPress. All mentioned plugins are located in the official WordPress.org directory and are distributed free of charge under the GPL license. Despite this, some of them use external paid services for image compression, or paid versions of the plugin with additional functionality, which may be distributed under different licenses.
1. WP Smush
The WP Smush plugin is developed by WPMU DEV and uses an external image compression service. Immediately after activation, the plugin offers to compress all existing files in the media library and also starts automatically compressing new uploaded images. At the time of writing, this plugin has more than 400 thousand active installations.
Please note that the free version of the plugin has some limitations, such as the maximum file size for compression being only 1 megabyte, compressing multiple images is only 50 pieces at a time. The paid version can be purchased with a WPMU DEV subscription for $49 per month.
EWWW Image Optimizer uses optipng, pngquant, jpegtran, and other free tools to efficiently compress images in WordPress. These utilities are included in the plugin distribution as executable files and are run by the plugin via a PHP function , which is disabled for security reasons exec()by many hosting providers.
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 hosting sites and does not create additional load on your server. The cost of compression is 0.5 cents per image for the first 1000 pieces.
TinyPNG originally appeared as an online service and API for developers to compress PNG images. Then the TinyPNG developers created a version for JPEG images, and plugins for WordPress and Magento to automatically compress all uploaded images using their online service.
Also see: Best free WordPress themes of 2022
For the plugin to work, it is enough to get an API key from the TinyPNG website. It allows you to compress up to 500 images per month for free, which is usually enough for 100 media files in WordPress, including all the thumbnails. Paid API access starts at $0.009 per image.
The Resize Image After Upload plugin automatically reduces the size of uploaded images in WordPress and saves instead of the originals. This allows you to significantly save disk space for those who often use files from digital cameras, the size of which reaches 20 MB or more.
Don’t forget to increase the maximum file size if you want to upload large images to your WordPress media library.
ShortPixel Image Optimizer is a WordPress image compression plugin and service. The free plan includes compression for up to 100 images per month and is the same compression quality as paid versions that start at $5 for 5,000 files per month. The plugin also allows you to restore the originals at any time.
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 existing images.
The free version of this plugin/service only allows you to test it within a quota of 100 megabytes. Paid subscriptions start at $5 for 500 megabytes per month.
Imagify is a service from the makers of the popular caching plugin WP Rocket 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, is enough for about 10,000 images