I'm trying to get my product images to crisp and without any pixelation when I adjust the browser window. Right now it looks like this when I adjust the browser window:
I've researched for a CSS fix, however I cannot find a solution that works. All of the woocommerce support docs for the "blurry product image issue" solve it as adjusting the product images' fixed with in Woocommerce > Settings > Products. However this does not allow the images to remain crisp at different browser widths.
All the product images uploaded are 1000px by 1000px. What CSS rules need to be applied? Or do I need to edit woocommerce core files? Or both? Any help appreciated.
Since you are using "cover", the image could be stretched at something other than the original ratio of width and hight. Your images should be at 100% for the best image quality and for sure the same ratio.
The ratio of the image on the site is 2.744 where the original image is 3.23. To get this ratio, I am dividing the width and height. Because the the rendered ratio is different than the original, it is not going to be as crisp.
If you are using the woo plug in, it might be easier to just keep it as is. The other option is to crop your image at the same ratio the plug in uses. The last option is to recode that area yourself.
Cropping the images may be easier. Take note if you can use different images for different breaks in media queries as your image ratio may change.
Web development includes all aspects of presenting content on intranets and the Internet, including delivery development, protocols, languages and standards, server software, browser clients, databases and multimedia generation.
The rendered code around the image has the following
Open in new window
Since you are using "cover", the image could be stretched at something other than the original ratio of width and hight. Your images should be at 100% for the best image quality and for sure the same ratio.The ratio of the image on the site is 2.744 where the original image is 3.23. To get this ratio, I am dividing the width and height. Because the the rendered ratio is different than the original, it is not going to be as crisp.
If you are using the woo plug in, it might be easier to just keep it as is. The other option is to crop your image at the same ratio the plug in uses. The last option is to recode that area yourself.
Cropping the images may be easier. Take note if you can use different images for different breaks in media queries as your image ratio may change.