5 Best WordPress Image Compression Plugins Compared

Are you looking for the best WordPress image compression plugin for your website? Image compression plugins allow you to easily optimize images in WordPress for better speed and performance. In this article, we have compared the best image compression plugins for WordPress. When Do You… Read More »

The post 5 Best WordPress Image Compression Plugins Compared appeared first on WPBeginner.

Are you looking for the best WordPress image compression plugin for your website? Image compression plugins allow you to easily optimize images in WordPress for better speed and performance. In this article, we have compared the best image compression plugins for WordPress.

Best WordPress image compression plugins

When Do You Need a WordPress Image Compression Plugin?

Images are larger in size than plain text which means they take longer to load and can slow down your website.

However you’ve probably heard the saying: “a picture is worth a thousand words”. Images make your content more engaging and interactive.

To improve your WordPress website speed, you need to optimize your images for the web. The best way to do this is by using Photoshop or another image editing software before you upload the image to WordPress. This gives you a lot more control on the quality of images on your website.

However, not all users are comfortable working with image editing program. For some optimizing every single image they upload sounds like a lot of work.

Luckily, there are several WordPress image compression plugins that can help you with that. These plugins optimize your images by automatically compressing them and using the smaller sized version on your website.

That being said, let’s take a look at the best WordPress image compression plugins, and how they stack up in terms of image optimization, performance, and quality.

1. reSmush.it

reSmush.it

reSmush.it is the best WordPress image compression plugin. It allows you to automatically optimize images on upload as well as offer a bulk optimization option for older images.

It uses the reSmush API to optimize images and allows you to choose the optimization level for your uploads. The downside is that it doesn’t have different compression levels. It also limits optimization to uploads lower than 5MB in size. You can exclude individual images from compression in case you need to add an image in full size.

2. EWWW Image Optimizer

EWWW Image Optimizer

EWWW Image Optimizer is a great option for WordPress image compression plugin. It is easy to use and can automatically optimize images you upload on the fly. It can also compress and optimize your previously uploaded images in bulk.

It performs all compression on your own servers which means you don’t need to sign up for an account to get an API key. It can also optimize images generated by other WordPress plugins and stored outside your media library folders. It doesn’t require an account to use the plugin, but you can sign up for their API to get additional features.

3. Compress JPEG & PNG images

Compress JPEG & PNG images

Compress JPEG & PNG is created by the team behind TinyPNG, and you will need to create an account to use the plugin. You can only optimize 100 images each month with the free account. It can automatically compress images upon upload, and you can also bulk optimize older images.

The plugin settings allow you to choose which image sizes you want to optimize. Additionally, you can also set a maximum size for your original uploads. Images larger than that size will be automatically resized by the plugin.

4. ShortPixel Image Optimizer

ShortPixel

ShortPixel Image Optimizer is another useful WordPress image compression plugin. It requires you to get an API key by providing your email address. The basic free account allows you to compress up to 100 images per month, and you will need to upgrade to their paid plans to increase this limit.

It starts compressing images as soon you as activate plugin and stores your original images in a separate folder. It also allows you to compare the original file with the compressed version to see the quality difference. ShortPixel is packed with advanced features and gives you the ability to choose comparison formats.

5. WP Smush

WP Smush

WP Smush is another popular WordPress image compression plugin. It automatically compresses images on upload and can also be used to compress and optimize your older image files. You can also set maximum image resolution, and your images will scale down to more reasonable sizes while being compressed.

The free version of plugin doesn’t require you to create an account to use their API key. The bulk optimization feature allows you to optimize up to 50 images at a time, and you can rerun the bulk optimizer to compress more images.

The free version of the plugin doesn’t perform that well. See our review of WP Smush with pros and cons.

Comparison Test Scores for Image Compression Plugins

Now that you know about the different WordPress image compression options, let’s take a look at how they compare against each other in terms of performance.

To measure this, we ran test by uploading the same image using each of these plugins.

Testing JPEG Image Compression

We used the following JPEG image for our tests, it is 118 KB in file size.

JPEG test image

We didn’t touch any of the plugin settings and tested the compression with out of the box settings. Here are our test results:

PluginCompressed SizeSaved (%)Method
reSmush.it76 KB30.59%Lossless
EWWW Image Optimizer112 KB5%Lossless
Compress JPEG & PNG images114.7 KB2.8 %Lossy
ShortPixel Image Optimizer69.2 KB41.94%Lossy
WP Smush112 KB5%Lossless

Testing PNG Image Compression

Next we wanted to test a PNG image to see how our contenders optimize it.

We used the following PNG image for the test, and it is 102 KB in file size.

PNG test image

Here are our test results:

PluginCompressed SizeSaved (%)Method
reSmush.it36 KB63.8%Lossless
EWWW Image Optimizer97.5 KB1.9%Lossless
Compress JPEG & PNG images34.364%Lossy
ShortPixel Image Optimizer37 KB63.5%Lossy
WP Smush99 KB2.9%Lossless

Which is The Best Image Compression Plugin for WordPress?

If you are not looking for flexible options in your image compression plugin, then reSmush.it gives you the best results in terms of performance by making the real difference in image file size.

If you are willing to pay for image compression, then you can try ShortPixel which performed really well in our tests.

EWWW Image Optimizer is a great plugin with flexible settings, but you will need their paid API key to get access to compression levels which make the real difference.

We hope you found this comparison of best WordPress image compression plugins useful. You may also want to see our list of common image issues in WordPress and how to fix them.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post 5 Best WordPress Image Compression Plugins Compared appeared first on WPBeginner.

How to Change WordPress JPEG Image Compression

By default, WordPress compresses your images for better performance. Recently one of our readers asked if it was possible to change the image compression setting in WordPress. In this article, we will show you how to increase or decrease JPEG image compression in WordPress. Every… Read More »

The post How to Change WordPress JPEG Image Compression appeared first on WPBeginner.

By default, WordPress compresses your images for better performance. Recently one of our readers asked if it was possible to change the image compression setting in WordPress. In this article, we will show you how to increase or decrease JPEG image compression in WordPress.

Every time you upload a JPEG image in WordPress, it would automatically compress the image to 90% quality. In WordPress 4.5, this number was further decreased to 82% to improve site performance for mobile users.

If you are a photographer who wants to showcase high quality images on your website, then you can turn off image compression in WordPress.

How to Disable Image Compression in WordPress

All you need to do is paste the following code in your theme’s functions.php file or in a site-specific plugin.

add_filter('jpeg_quality', function($arg){return 100;});

When you set the value to 100, it means that WordPress compress the image at its highest quality.

If you’re not a photographer or an artist, then you would probably not see much of a difference in quality. But for those who work with high quality images on a daily basis, the difference in quality is obvious.

How to Increase Image compression in WordPress

There are definitely performance benefits to leaving the compression quality as is. If you want, you can change the number from 100 to 80 or something lower to squeeze a few more kBs, then all you have to do is paste the following code:

add_filter('jpeg_quality', function($arg){return 75;});

When you do make these image quality changes, you want to make sure that you regenerate your thumbnails.

We hope this article helped you learn how to change JPEG image compression in WordPress. If you’re a photographer, then you may want to check out Envira Gallery and the supersize add-on that allows you to display full-quality images on fullscreen view.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Change WordPress JPEG Image Compression appeared first on WPBeginner.