That comment was referring to the Zen Cart 2.0.0-rc2 release (https://github.com/zencart/zencart); IH v5.4.3 is what I've validated on that forthcoming release.
That comment was referring to the Zen Cart 2.0.0-rc2 release (https://github.com/zencart/zencart); IH v5.4.3 is what I've validated on that forthcoming release.
IH 5.3.1 on ZC 1.5.7. Can I
a) Disable the image (additional replaces main on hover).
b) Display additional images as full size images just like the main image
c) Fix the issue where a trailing %27 instead of single quote causes the popup to fail.
Thanks!
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
I'm primarily interested in (b)
b) Display additional images as full size images just like the main image
I have received a few inquiries about this and haven't figured out how to tweak it.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
IH is truly superiour!
One thing I am working at is a mobile solution for lists.
I have set 240x180px at the moment (for 360px viewport).
Modern smartphones with smaller displays uses small viewports but have a real high resolution.
So 240x180px "fit" but don't look good as expected.
For the main (large) image I set up a high resolution which I reduced via CSS for Desktop.
This allows me to display brilliant images for mobile and as expected images for desktop.
The handling for list images comes next.
This is just a suggestion of mine.
Please don't feel annoyed.
> c) Why would an image-file's name end with a single-quote (')?
It doesn't but the end quote in the function call is somehow converted to %27 when the page is rendered. I think this is a bug in an older version of Zen Cart (which this is) but I can't remember the fix.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
modules/additional_images.php - about line 30
$thumb_regular = zen_image($base_image, $products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT)
2.00 lists it as medium size - I changed that to small due to the new image modals popups.
full size? Dunno. That would be a php task to determine the image size first. There may be code in the mod that determines the actual size - I don't recall ever seeing it. But actual size could lead to disastrous effect. The main product image size is the medium size by the way so one can use the medium width and make sure the sizing of the product image is adequate. I can't image one would put up addtional images way larger than the product main image. Though folks do get creative sometimes.
The full-time Zen Cart Guru. WizTech4ZC.com
Bookmarks