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.
My business is GDPR compliant Webhosting and other Web Services.
Beside that I still have a Zen Cart Shop running for Classic Vespa Spare Parts
Locations in Germany, Spain and Finland. Other worldwide locations on demand
> 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.
PHP 8.3.7 // ZC 2.0.1 // Image Handler 5.3.4 (as last available in the plugin directory)
Installation went fine But noticed that when I visit the admin landing page of Image Handler 5, with nothing selected, I'm given the following error messages:
I've since reinstalled and cleared the add on, but still am treated to the same error message. I'm 99% sure this is because I'm running PHP 8 but don't know what change to make here to make this PHP 8 safe.Code:[04-Jun-2024 11:56:29 America/New_York] Request URI: /justuptown/justoffice/index.php?cmd=image_handler, IP address: 127.0.0.1, Language id 1 #0 \justoffice\includes\modules\products_previous_next.php(94): zen_debug_error_handler() #1 \justoffice\includes\ih_manager.php(64): require('E:\\xampp\\htdocs...') #2 \justoffice\image_handler.php(98): require('E:\\xampp\\htdocs...') #3 \justoffice\index.php(16): require('E:\\xampp\\htdocs...') --> PHP Warning: Undefined variable $previous in \justoffice\includes\modules\products_previous_next.php on line 94. [04-Jun-2024 11:56:29 America/New_York] Request URI: /justuptown/justoffice/index.php?cmd=image_handler, IP address: 127.0.0.1, Language id 1 #0 \justoffice\includes\modules\products_previous_next_display.php(24): zen_debug_error_handler() #1 \justoffice\image_handler.php(195): require('E:\\xampp\\htdocs...') #2 \justoffice\index.php(16): require('E:\\xampp\\htdocs...') --> PHP Warning: Undefined variable $position in \justoffice\includes\modules\products_previous_next_display.php on line 24. [04-Jun-2024 11:56:29 America/New_York] Request URI: /justuptown/justoffice/index.php?cmd=image_handler, IP address: 127.0.0.1, Language id 1 #0 \justoffice\includes\modules\products_previous_next_display.php(30): zen_debug_error_handler() #1 \justoffice\image_handler.php(195): require('E:\\xampp\\htdocs...') #2 \justoffice\index.php(16): require('E:\\xampp\\htdocs...') --> PHP Warning: Undefined variable $previous in \justoffice\includes\modules\products_previous_next_display.php on line 30. [04-Jun-2024 11:56:29 America/New_York] Request URI: /justuptown/justoffice/index.php?cmd=image_handler, IP address: 127.0.0.1, Language id 1 #0 \justoffice\includes\modules\products_previous_next_display.php(47): zen_debug_error_handler() #1 \justoffice\image_handler.php(195): require('E:\\xampp\\htdocs...') #2 \justoffice\index.php(16): require('E:\\xampp\\htdocs...') --> PHP Warning: Undefined variable $next_item in \justoffice\includes\modules\products_previous_next_display.php on line 47.
Any help here with this warning debug message I've received?
Bookmarks