Keep WordPress from Compressing JPGs

Place the snippet in WordPress functions.php file and you’re done!

Code Snippet:

<?php
add_filter('jpeg_quality', function($arg){return 100;});
?>

Posted in Images