Main images on product page are blurried
-
Hello!
I have the following problem:
when the product page loads, images of the gallery are ok; if I click on the first image of the gallery, image change and appear all blurried (not the thumbnails, but the main images).
On Zoom Magnifier plugin, I set the image dimensions on 1200px x 1200px with hard crop activated and regenerated the thumbnails.
On funcions php file I have the following code:
add_filter( ‘woocommerce_get_image_size_gallery_thumbnail’, ‘ci_theme_override_woocommerce_image_size_gallery_thumbnail’ );
function ci_theme_override_woocommerce_image_size_gallery_thumbnail( $size ) {
// Gallery thumbnails: proportional, max width 200px
return array(
‘width’ => ”,
‘height’ => 200,
‘crop’ => 0,
);
}add_filter( ‘woocommerce_get_image_size_thumbnail’, ‘ci_theme_override_woocommerce_image_size_thumbnail’ );
function ci_theme_override_woocommerce_image_size_thumbnail( $size ) {
// Catalog images: specific size
return array(
‘width’ => 750,
‘height’ => 750,
‘crop’ => 1,
);
}Could you help me please?
Thank you!
The page I need help with: [log in to see the link]
- The topic ‘Main images on product page are blurried’ is closed to new replies.