• Resolved muriddu

    (@muriddu)


    Hi there,i am trying to improve the quality of woocommerce thumbnails on product page, but with no results. The thumbs are always displayed blurry not matter what i do. I have tried different plugins like for retina etc, regenerated thumbs, uploaded via ftp new photoshopped 300 dpi imgs and replaced them with the ones which were in the gallery, uploaded bigger imgs, disabled jetpack, played with the different img settings in woocommerce and wordpress (set quality to 100%/scaling etc), put this string into function.php file <add_filter(‘jpeg_quality’, function($arg){return 100;});> and so on, still nothing. So i think there is some settings that are maybe related to FlexSlider, the slider woocommerce uses. It might be related to Woolentor as well? Using Astra theme + Elementor. Im clueless. Here’s a link to a product page on my website (eg. check be quiet! logo, blurry in the thumbnails gallery, orginal image is 900x900px):
    Thanks in advance!

    • This topic was modified 3 years, 11 months ago by James Huff. Reason: redundant link removed
    • This topic was modified 3 years, 11 months ago by James Huff.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter muriddu

    (@muriddu)

    Here is the solution!
    Paste this snippet into your function.php file (make sure you have a child theme).

    /*change thumbnail quality in woocommerce*/
        add_filter( 'woocommerce_get_image_size_gallery_thumbnail', function( $size ) {
            return array(
                'width' => 600, //change this to edit thumbnail witdth - default 150px
                'height' => 600, //change this to edit thumbnail height - default 150px
                'crop' => 0,
            );
        } );
    • This reply was modified 3 years, 11 months ago by muriddu.
    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Howdy!

    That’s wonderful ?? Thank you for sharing the solution with the community.

    I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Improve quality of woocommerce thumbnails on product page’ is closed to new replies.