I understand WordPress creates smaller versions of the original image file.
These versions are blurry in comparison to the original which is a big issue as a photographer.
I set up this page you can see the difference /
How can I stop WordPress compressing the images?
I tried adding the below to the functions.php file and regenerating the thumbnails but no luck.
add_filter('jpeg_quality', function($arg){return 100;});
Thanks, Jamie
I understand WordPress creates smaller versions of the original image file.
These versions are blurry in comparison to the original which is a big issue as a photographer.
I set up this page you can see the difference https://www.jamieknop/test/
How can I stop WordPress compressing the images?
I tried adding the below to the functions.php file and regenerating the thumbnails but no luck.
add_filter('jpeg_quality', function($arg){return 100;});
Thanks, Jamie
Share Improve this question asked Sep 23, 2019 at 15:34 joker91joker91 12 Answers
Reset to default 1You can set the width of each image sizes inside of WP > Settings > Media
Alternatively you can select the image size to be "Full image" when inserting each image into the post. This will choose the image you uploaded and not a cropped version.
I was able to resolve this using a plugin called WP Retina 2x https://en-gb.wordpress/plugins/wp-retina-2x/ :)