Disable all resizing and compression
How do you successfully disable all image compression and resizing?
I would like Wordpress to use the image exactly as it is uploaded. same pixel dimentions, same quality.
I have gone down the route of adding to functions.php multiple strings that change the thresholds and the quality like...
add_filter(
'jpeg_quality',
function() {
return 100;
}
);
No joy.
There are multiple threads on this topic across the net, lots of similar suggestions, none of them work/work with the recent Wordpress release.
Has anyone been able to achieve this?
Thanks
Topic compression uploads images Wordpress
Category Web