Gallery thumbnails heights not same
-
Hello. I set all gallery images thumbnails sizes same with this code:
add_filter(
'woocommerce_get_image_size_gallery_thumbnail',
function() {
return array(
'width' => 340,
'height' => 340,
'crop' => true,
);
},
999
);
It is working fine. But first image’s height is different. I think there is an a javascript conflict with data-o_src attribute. Can you help me about this?
It happens when variation selected.
I did but still all images heights’ not equal.
I regenerated thumbnails.
Hello,
Did it help to solve the issue?
Best Regards
Hello,
Have you removed the custom code you show in the top?
Best Regards
Hello,
The only way to achieve a similar image size is to upload images of the same size and proportion.
Best Regards
The topic ‘Gallery thumbnails heights not same’ is closed to new replies.