Disable The Native Image Compression In WordPress

When you are uploading a large image to WordPress, you might find that the image is compressed and scaled down to 2560px.

This is a new native image compression functionality introduced in WordPress 5.3+, which aims to optimize the page load performance for the web.

The Disable Native Image Compression is a WordPress plugin created to disable the image compression functionality if the original image width or height is above the default threshold and display the REAL original image on your website.

How to disable the native image compression without a plugin?

WordPress also provides a simple way for developers to quickly adjust the threshold value via apply_filters.

apply_filters( 'big_image_size_threshold', int $threshold, array $imagesize, string $file, int $attachment_id )

How to use it:

1. Login to the WordPress as an admin.

2. Go to the Add Plugins page and type the Disable Native Image Compression in the search field.

3. Click the Install Now button to install & activate the plugin. That’s it.

Download WordPress Plugin:

You can download this free WordPress plugin using the download button below. Unless otherwise stated, the WordPress plugin is available under GNU General Public License.

Author: Nithin Jawahar

Homepage: https://wordpress.org/plugins/disable-site-health/

Don’t forget to share this WordPress plugin and also check out other awesome plugins on our site.

Rate This Plugin
Sending
User Review
0 (0 votes)

See Also:

Leave a Reply