• Resolved marpessa1

    (@marpessa1)


    Hey, we have a website with jetpack enabled. As it is a photography portfolio, image quality is of utmost importance for us. We have the “Speed up images and photos” option disabled, and the full size images load fine, however; the thumbnails are still of bad quality. I’ve tried adding the following codes to functions.php and regenerating thumbnails but it didn’t work:

    add_filter( 'wp_editor_set_quality', 'set_editor_image_quality', 10, 2 );
    
    function set_editor_image_quality( $quality, $image_mime_type ) {
    	return 100;
    }
    
    add_filter( 'jetpack_photon_pre_args', function( $args, $image_url, $scheme ) {
    	if ( empty( $args['quality'] ) ) {
    		$args['quality'] = 100;
    	}
    
    	return $args;
    }, 10, 3 );
    

    You can see the difference here:
    Original image: https://esraozdogan.gyayingrubu.com/wp-content/uploads/2018/01/ic19.jpg
    Bad quality thumbnail: (even the colors are off) https://esraozdogan.gyayingrubu.com/wp-content/uploads/2018/01/ic19-360×360.jpg

    Hope you can help me fix it. Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • pmciano

    (@pmciano)

    We viewed the image thumbnail you linked to and it seemed OK, although we noticed the colors were not identical, as you stated.

    Also, the thumbnail image is being served from your site, not from WordPress.com via Jetpack.

    Can you explain why you think this issue is being caused by Jetpack?

    Are you seeing a different behavior if you temporarily disable Jetpack?

    Once you give us some additional clarification, we will be more than happy to continue addressing your issue.

    Thread Starter marpessa1

    (@marpessa1)

    Hmm, I thought this was related to jetpack, but apparently it’s not. I’ll see what I can do. Thanks very much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Thumbnail quality issue’ is closed to new replies.