-
AuthorPosts
-
May 12, 2017 at 6:08 am #792067
Hello,
I added pictures on my product page but for some reason some of them appear blurry. I don’t understand why.
The pictures are high quality and appear well when I click on them but on the thumbnail they are blurry.
I tried many things and regenerating the thumbnails as well but without success.
Any help would be very much appreciated!
May 12, 2017 at 7:19 am #792098Hey Oby4455,
Can you try adding this code at the bottom of functions.php:
global $woocommerce; if( version_compare( $woocommerce->version, '3.0.0', ">=" ) ) { function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id, $image_class ) { return $img; } function avia_woocommerce_post_thumbnail_description($img, $post_id){ return $img; } }
Let us know if this helps :)
Best regards,
NikkoMay 12, 2017 at 7:24 am #792103Hi,
Thank you for the quick reply. I added the code you gave in functions.php but the website stopped working when I did it. I removed the code and it’s working again.
I added the code at the bottom of the file like you told me.
May 12, 2017 at 7:45 am #792116Hi,
Hmmm, can you try the solution I posted in this thread: https://kriesi.at/support/topic/picture-on-single-product-pages-blurry/#post-790948
Best regards,
NikkoMay 13, 2017 at 7:38 am #792664Thank you. I tried and I get the same error as in the first code you gave me “us-supplements.com is currently unable to handle this request.
HTTP ERROR 500″….May 13, 2017 at 7:46 am #792669May 14, 2017 at 1:59 am #792849Thank you for taking the time to work this out. It’s working great now and I hope Enfold is going to solve this issue in the next update.
Only issue is that the light box feature for the products images disappeared with the Child theme. Is there a way to put it back ?
Thank you again!!
May 15, 2017 at 5:57 am #793157Hi,
In the next update, you’ll be able to select between the theme’s default gallery and the plugin’s new gallery features. Please don’t forget to remove these modifications when the update is released.
Best regards,
IsmaelMay 17, 2017 at 7:52 pm #795057Thank you. I just updated Enfold to the last update yesterday and the lightbox feature is back!
May 18, 2017 at 8:08 am #795527 -
AuthorPosts
- You must be logged in to reply to this topic.