How to stop scaling images in WordPress

tehangat studio 3zgykWQFVzE unsplash scaled
Genx Avatar
Share This:

To stop the function that automatically scales images with a resolution of 2560px or higher when uploading images in WordPress, add the following to functions.php.

//Disable Scaling Of Image
add_filter( 'big_image_size_threshold', '__return_false' );

Related Posts

Genx

in

Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

14 − 12 =

Webmention: Have you posted a response to this article? Let me know the URL: