Archived topic
Woocommerce Gallery image sizes
5 replies · Started by John MacKenzie on June 8, 2020
hi guys small issue with image sizes, they all seem different on the product galelry (images that show below the main product)
example page below. i found some code from another of your threads with this
`add_filter( 'woocommerce_get_image_size_gallery_thumbnail', function( $size ) {
return array(
'width' => 100,
'height' => 100,
'crop' => 0,
);
} );'
but it didnt seem to help.
thanks!
John
Hi there,
Strange, it should do this by default: https://gpsites.co/seller/product/happy-ninja/
Any other custom functions added to your site which may be affecting image sizes?
Hi David
not in my functions file no, there is nothing else with image or thumbnail being overridden?
thanks!
John
Hi there,
Are you using a separate plugin for the gallery as the markup is different to the one Woocommerce installs ?
Hi David, thanks i didnt think so ( I didnt do the initial setup) looks like it was this one causing the issue:
Product Image Zoom for WooCommerce
thanks!
John
Pesky plugin :) Glad to hear you found the solution