Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
Hi,
A few other people seem to be having this same issue. I’m investigating and following up if a patch is needed at https://github.com/woocommerce/woocommerce/issues/21646.
Thanks.
Out theme developer released a fixed for this bug. Maybe other will benefit from it
/**
* ————————————————————————————————
* Fix for single product image sizes
* ————————————————————————————————
*/
if ( ! function_exists( ‘woodmart_single_product_image_sizes’) ) {
function woodmart_single_product_image_sizes() {
$sizes = wc_get_image_size( ‘woocommerce_single’ );
if ( ! $sizes[‘height’] ) {
$sizes[‘height’] = $sizes[‘width’];
}
return array( $sizes[‘width’], $sizes[‘height’] );
}
add_filter( ‘woocommerce_gallery_thumbnail_size’, ‘woodmart_single_product_image_sizes’ );
}
Plugin Support
Yuki K a11n.
(@yukikatayama)
Automattic Happiness Engineer
Thanks for the input @moultrex.
The fix for this will be in 3.5.1 as per the comment here, as well as a workaround for now so will close this thread.
Thanks!