- This topic has 7 replies, 3 voices, and was last updated 7 years, 9 months ago by
David.
-
AuthorPosts
-
July 7, 2018 at 1:09 pm #618155
Eugenio
Hi,
I just started today a new project and I’m facing a problem with WooCommerce thumbnails: while single and catalogue images look perfect (all images are 960x960px), the thumbnails beside the main image on the single product page look blurry. I already used Regenerate Thumbnails with no results. Starting this new project, I uploaded all the images and installed WooCommerce before switching to GP Premium… inspecting the item in Chrome I found some reminiscences of the original WP theme in WooCommerce CSS… but frankly speaking I have no idea if this might be the cause…
July 7, 2018 at 9:05 pm #618328Tom
Lead DeveloperLead DeveloperHi there,
Your URL is going to a 404. Can you double check?
Thanks! 🙂
July 10, 2018 at 2:29 am #619981Eugenio
Hi Tom,
sorry for delay but I wanted to check if the issue was eventually related to image quality and compression. So I decided to start from scratch once again. So, fresh new install and now all the product images that have been upload are higher quality and less compressed…
take a look at this address…
https://3store.it/categoria-prodotto/smartphone/apple/
All images are quite sharp and well defined, but if you go in a single product page, for example:
https://3store.it/negozio/apple-iphone-8/
you’ll see that the thumbnails are quite blurry… while the main image is sharp and well defined…
July 10, 2018 at 5:53 am #620108David
StaffCustomer SupportHi there, you may want to try regenerating your thumbnails with this plugin:
July 10, 2018 at 6:41 am #620149Eugenio
Hi David, tried that already but with no results at all…
July 10, 2018 at 7:07 am #620161David
StaffCustomer SupportOK, Woo’s latest update set the gallery thumbnail to a fixed 100px x 100px size. Which is being scaled up by the layout. You can use this filter to change that to a higher resolution.
add_filter( 'woocommerce_get_image_size_gallery_thumbnail', function( $size ) { return array( 'width' => 150, 'height' => 150, 'crop' => 0, ); } );Try increasing it using this method and then regenerate thumbnails.
July 10, 2018 at 9:15 am #620378Eugenio
Thank you very much David, where should I place this piece of code without messing up the whole site (I’m not that confident in this kind of programming…).
July 10, 2018 at 9:17 am #620381David
StaffCustomer SupportHere is an article on adding PHP, which includes a link to the Code Snippets plugin which is the simplest way to add these codes:
-
AuthorPosts
- You must be logged in to reply to this topic.