fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

Blurred Low Res Thumbnails Images

Hello, Can you help me please

Variation Thumbnails Images are blurred, like low resolution, When you see the image URL, it has “-100×100.jpg” in the final, so it is showing a poor quality image.

You can see an example on my site:

https://supply-demo.com/tienda/hombre/playeras/manga-corta-playeras/playera-slim-cuello-redondo-4/

Or in the thumbnails:

Captura de Pantalla 2021-03-29 a la(s) 16.52.48.jpg

 

Please help me to change the resolution to see the images with other thumbnail size please!

Regards

Rodrigo R.

[email protected]

 

Shahin Sid

Hello Rodrigo Alberto Reyes Garcia,

Add the following codes to your Child theme’s function.php file:

add_filter( ‘woocommerce_get_image_size_gallery_thumbnail’, function( $size ) {
return array (
‘crop’ => 0,
);
} );

Thanks

Hello, Ahmed aswered by chat and his code works:

add_filter( ‘woocommerce_get_image_size_gallery_thumbnail’, ‘override_woocommerce_image_size_gallery_thumbnail’ ); function override_woocommerce_image_size_gallery_thumbnail( $size ) { // Gallery thumbnails: proportional, max width 200px return array( ‘width’ => 200, ‘height’ => 200, ‘crop’ => 0, ); }

Regards!

Rodrigo R.