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
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