Uploaded images become blurry after upload?

Are your uploaded WordPress images being displayed blurry after uploading them? This is due to the built-in WordPress compression and here’s a guide on how to disable it.

Disable the built-in compression

In order to disable the built-in WordPress image compression, add the following code to your theme’s functions.php file.

function hashtag_no_filter( $quality ) {
     return 100;
}

add_filter( 'wp_editor_set_quality', 'hashtag_no_filter' );
add_filter
( 'jpeg_quality', 'hashtag_no_filter' );