- This topic has 8 replies, 3 voices, and was last updated 3 years, 8 months ago by Leo.
February 7, 2018 at 10:45 am #490638Nick
In the customize window there are two options for resizing products images. The resizer works for thumb nail images, but the resizer for the main images does not work. When I adjust the size it only reduces the resolution and not the actual physical size of the image, and the image itself is way too large. I’ve tried many different sizes of media files and nothing works. Can you help me? Thanks.February 7, 2018 at 1:03 pm #490756LeoStaffCustomer SupportFebruary 7, 2018 at 1:30 pm #490781Nun
You must set your image sizes correctly BEFORE you upload or attach the images in both settings – media and in older versions of woocommerce – settings – products – display. In the latest version of woo, they’ve moved some thumbnail settings to customize – woocommerce – product images and they are no longer in the woocommerce settings.
You see, wordpress hardcodes image dimensions into the img tag when you attach it to a post/page/product – so if you change the image size in the media folder but still have the old hardcoded dimensions in the tag you will see what you’re seeing – a crappy upsized version of the image.
If you’ve uploaded a bunch of images and attached them to products you must redo all those attachments and attach the NEW sized images.
THIS is why you want to make sure your image sizes are appropriate BEFORE you do any of that, because redoing it later is a real pain.
Oh, and you should DELETE the old improperly sized images before uploading them again so as not to have a crapload of unused images confusing you when you go to attach.February 7, 2018 at 2:24 pm #490829Nick
Hi Nun – I did all of what you mentioned and none of it works. I’ve deleted all images from the media folder, renamed my media files (just in case) – set my sizes in settings-media and in the customizer, made sure my media images were the same size and then uploaded them into the product image. Same problem is still there. The product image thumbnail looks fine, when you click on it to see the description page, the image is HUGE – it takes up half the page. When I try to resize it in the customizer it only changes the resolution and not the actual size of the image. Any ideas?February 7, 2018 at 3:32 pm #490855Nun
Are you looking at source/using firebug to see the actual image tags and what’s in there?February 7, 2018 at 4:13 pm #490863Nick
Hi Nun – thanks for the response. I’d like to show you my URL but I don’t want it to be seen publicly – is there a way to show that privately?February 7, 2018 at 6:17 pm #490920LeoStaffCustomer SupportFebruary 7, 2018 at 6:28 pm #490927Nick
OK, thanks, Leo.February 7, 2018 at 6:32 pm #490930
- You must be logged in to reply to this topic.