I searched, couldn't find the answer, what setting in what file must be changed so the additional images are the same size as the main image size, instead of the "small image" size?
I searched, couldn't find the answer, what setting in what file must be changed so the additional images are the same size as the main image size, instead of the "small image" size?
Nevermind I figured it out its in additional images in common, change it to MEDIUM instead of SMALL
I am trying to change the size of the additional images. I can't find the "common" file that the previous person posted where she found the problem. Can someone please help? Many thanks!
admin > configuration > images
set height and width
Thank you very much for the response and yes, I do see that but..... which one of the items listed there changes the size for the additional images in admin>images? All I see for additional images there is about the rows.
did anyone ever figure this out?! none of the images that can be changed in configuration→images seem to refer to the additonal images that appear on the product info pages. thanks for any support!
It can be a bit confusing, becuase it's not clearly named "Additional Image Size".
It's actually controlled by the first item in the list: "Small Image"
The reason is becuase the additional images are part of the "small image" category, and are styled along with all the other small images.
I changed the additional images sizes by editing this file:
includes\modules\additional_images.php
On these lines (89, 90 or maybe 88, 89):
$thumb_slashes = zen_image($base_image, addslashes($products_name), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);
$thumb_regular = zen_image($base_image, $products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);
You can change it to:
$thumb_slashes = zen_image($base_image, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT);
$thumb_regular = zen_image($base_image, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT);
OR a specific width and height:
$thumb_slashes = zen_image($base_image, addslashes($products_name), 225, 300);
$thumb_regular = zen_image($base_image, $products_name, 225, 300);
If you have a template set up then make a template folder to save your changed file into: includes\modules\you_template\additional_images.php
Hope that helps!