-
AuthorPosts
-
December 13, 2017 at 11:36 pm #888615
Hi,
Im making a site that sells artwork and I need to get the product thumbnails in the shop to show the whole piece of art, in the correct ratio but scaled to fit the thumbnail container. I’ve fiddled around with the Woocommerce product display settings as well as the default WP media thumbnail settings but I can’t get it to work. Their settings either stretch the image to fit the dimensions or they crop a thumbnail out of the image. When I use the WP settings as well, I can keep the ratio but only on the width, not the longest edge.
If you look at my shop
https://jomaydesign.simplicitywebdesign.co.nz/product-category/outdoor-garden-art-panel-catalogue/small-and-medium-outdoor-art-panel-catalogue/you can see how the images are scaled to have their width match the thumbnail dimension. What I need is for the longest edge to be scaled and then the ratio kept so it looks like this site
http://www.sarahcdesign.co.nz/shop/
Woocomerce have said its something the theme is doing rather than them. Do you have any ideas how I can contain the whole piece of art, whatever the shape, within a 320×320 thumbnail square?
Thank you
-
This topic was modified 7 years, 11 months ago by
simplicityltd.
December 14, 2017 at 4:26 am #888735Hey simplicityltd,
Please, provide your WP credentials?
Best regards,
John TorvikDecember 15, 2017 at 9:48 am #889238Temporary login link added. Valid for 1 day from now
thank youDecember 18, 2017 at 5:15 pm #890081Hi simplicityltd,
The link is not working any longer. Can you please renew it?
Best regards,
VictoriaDecember 19, 2017 at 12:36 am #890294There you go, valid for 24 hours
thank youDecember 19, 2017 at 1:01 pm #890448Hi simplicityltd,
If your images have different aspect ratios, the 320x320px thumbs will not work for the images.
Best regards,
Victoria -
This topic was modified 7 years, 11 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
