Hi – I was trying to change the size of the image that the single product can display. I tried to change it to 1024px by 1024px but it didnt work. I then copied the folder and file into my child theme – ‘config-woocommerce\config.php’ and changed $avia_config[‘imgSize’][‘shop_single’] = array(‘width’=>1024, ‘height’=>1024, ‘crop’ => false);
However when i regenerated the images and even uploaded a new one the lightbox image is not 1024 by 1024. Here is the logs of the regerenate.
Regenerate: 1024×423, 1024×430, 1024×630, 120×120, 180×180, 260×185, 300×300, 36×36, 450×450, 495×400, 705×705, 710×375, 80×80, 845×321, 845×684
Successfully regenerated in 5.491 seconds
“centrioun24” (ID 681)
Also How does this work – if I want the image to be sharper do I upload a bigger pixel version? In addtion is there a way we can zoom into the picture even more in the light box (any free plugins? )
Hi!
Can you post a link to the image you’re trying to upload? you should know that WordPress won’t increase the size of an image, it will try to maintain the original image aspect ratio, this means you won’t always get a 1024×1024 image unless you upload a square image bigger than 1024×1024.
Cheers!
Josue
Thanks Josue – I think I am ok with this. I will just upload a larger image if needed in the square dimensions.