This topic has 11 replies, 4 voices, and was last updated 10 years, 3 months ago ago by Eva Kemp
Single Product page image size is too big than the image itself and hence its stretched.
I have made changes in woocommerce settings page as well but no luck.
Hello,
Please provide us with link to the page and wp-admin access in Private Content.
Regards,
Robert Hall.
Hello Robert,
i have the same problem with my single product page.
When my browser window is maximized it looks like my picture is stretched.
If i reduce the window with, the picture reduces back to the normal size.
see link in description
the picture size is 207*180
I hope everything is clear.
Thank you!
Tobi
Hello,
Put this code into custom.css file.
.product_image .main-image img {
width: auto;
}
Here is a video tutorial how to create custom.css: https://www.youtube.com/watch?v=Qok2zRedRMY&feature=youtu.be.
Regards,
Robert Hall.
Hi I did as you said but still the image is too big on the single product page.
Hello @yusuf.mats,
Please try to use this plugin recommended by Woocommerce team:
http://wordpress.org/plugins/regenerate-thumbnails/
and read this article:
http://docs.woothemes.com/document/using-the-appropriate-product-image-dimensions/
Also as you’re using cache plugin you need clear the cache files via FTP.
Regards,
Eva Kemp.
Done as you said. But Its still not working.
Hello,
Your original image is too high and narrow. That’s why it’s stretched for the whole image block.
To have it smaller you need upload more wider images.
Thank you.
Regards,
Eva Kemp.
I was guessing that was the problem and i did upload smaller image and it still got stretched.
Please check the link below… This particular product is of small size image and yet its stretched and when you try to zoom it, it shows the original size of image.
Your image height is too big. You need upload images with bigger width value.
For example, we’ve changed original image dimensions and reuploaded the image
http://aurioncrystals.in/product/low-price-geometric-shape-alloy/
So you need edit the original images.
Regards,
Eva Kemp.
Tagged: image, optimization, page, product, single, templates, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up