I had some really blurry gallery thumbnails in Woocommerce, using the Hello theme with Elementor.
The images uploaded were of very high quality and so I read a few blog posts and found out about “Regenerate Thumbnails” plugin.
So I thought I would give it a go. I installed then regenerated the thumbnails, and it was still the same! Useless.
But eventually I found this little bit of code and found that setting the variable for the thumbnail to 200px seemed to do what I needed it to.
I found that the woocommerce product gallery thumbnail size is set to 100px x 100px.
In future I will be using this code that goes into the functions.php file.
1 2 3 4 5 6 7 8 9 |
add_filter( 'woocommerce_get_image_size_gallery_thumbnail', function( $size ) { return array( 'width' => 200, 'height' => 200, 'crop' => 0, ); } ); |
Now buymodels.co.uk looks a lot better.