I’m lost I don’t know where to turn.
I am trying to get my thumbnails to NOT be compressed at all. My uploads are nice and colorful, but the thumbnails gets very visibly duller and poorer quality. I already added this code to my function.php file in my child and parent theme:
add_filter(‘jpeg_quality’, function($arg){return 100;});
echo get_the_post_thumbnail($id, array(100,100) );
add_filter( ‘jpeg_quality’, create_function( ”, ‘return 100;’ ) );
add_filter( 'wp_editor_set_quality', 'wpse246186_image_quality' );
add_filter( 'jpeg_quality', 'wpse246186_image_quality' );
function wpse246186_image_quality( $quality ) {
return 100; // 0 - 100% quality
}
I’ve installed ‘Disable JPEG Compression’, and I’ve installed EWWW Image Optimizer and upped the compression quality to 100. I keep regenerating thumbnails using the ‘Regenerate Thumbnails’ plugin. But there is still a huge difference. I do not know what to do, I’ve searched the web up and down, idk what I am missing. Is it because my images are Adobe 1998 and not sRGB when I uploaded them?
Here is an example of the good image: http://ninasveganrecipes.com/wp-content/uploads/2018/03/web-blackberry-icecream-4863.jpg
Here is a thumbnail of it looking BAD (dull!): http://ninasveganrecipes.com/wp-content/uploads/2018/03/web-blackberry-icecream-4863-1080×1619.jpg
Please help me! I don’t know what to try or what I am doing wrong. Running PHP 5.6.30 on my wordpress site.
Thank you. -Nina Marie
‘jpeg_quality’
vs'jpeg_quality'
.