Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1363167

    Hi,
    Although my shop media pictures (media settings) were set up to 450px x 450px. The shop has always been showing the original size of the pictures which is 500px x 600px (which I wanted). Last week they started changing to 450px x 450px with any new upload. I went into the settings and have changed the medium size from 450px to 450px to 500px x 600px and uploaded all new pictures but they are still defaulting to a crop of 450px x 450px.
    HerbalCenter Shop LInk
    (The picture on the product card retains its original proportions).

    Any of your genius, brilliant suggestions to help me fix it guys?
    Regards,
    Annemarie

    #1363326

    Hey Annemarie,

    Thank you for the inquiry.

    Did you adjust the Thumbnail Width in the Customize > Woocommerce panel? Adding this filter in the functions.php file should override the default shop_catalog thumbnail and use the value set in the Thumbnail Width field.

    add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'avf_thumbnail_size_adjustment', 10, 1 );
    function avf_thumbnail_size_adjustment( $thumbnail_size ) {
        return 'woocommerce_thumbnail';
    }
    

    Related thread: https://kriesi.at/support/topic/woocommerce-product-images-not-displaying-correctly/#post-1362021

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.