How to Fix Blurry Images

WordPress reduce quality of image when you upload it via media uploader.

WordPress has built in compression for JPG images. Whenever you upload an JPG/JPEG image to WordPress media library, WordPress will automatically compress your images to 90% of the original quality, this is intended to help your pages load faster and keep file sizes smaller.

You can use the add the following code in your function.php of your child-theme to fix this problem:


add_filter('jpeg_quality', function($arg){return 100;});