Variant product is adding unwanted srcset code to image
-
Theme is using its own resize script but since V 3.0 the variant product is adding unwanted src_set code to the image. Even the original src=”image url” the theme adds as a url with the propper sized image is replaced with default shop image as set in the woo product display settings. Very annoying i must say as now we get blurry images on resize and the theme resizing script is failing because the woo plugin replaces the image url after the theme has resized the image.
The not variant product is ok !
The resizing script the theme uses fails because of this
Pls also add data-thumbnail=”<image id>” to the img tag after swapping the selected variant image!
Even in the default wp theme setting a product image to 294 x 294 creates blurry images. Besides that: Why not use the original image above 294px? It is part of the src set code. Why is there a max_width set to 294 px and is this image used for all the viewpoints above 294px? then why is the original image url part of the code and not used?
Now i have to use regenerate thumbnails in order to fix this. Bizar !
- The topic ‘Variant product is adding unwanted srcset code to image’ is closed to new replies.