I would also say always use subdirectories to subdivide your images/not put them all in one folder. If you don't bother now, you'll maybe have to bother later.
Printable View
I would also say always use subdirectories to subdivide your images/not put them all in one folder. If you don't bother now, you'll maybe have to bother later.
I planned that from the git go.
Now I have a different issue (and I SWEAR I have seen this before). Some of my images are sideways. None them show sideways in any other view, just in ZC. I do not think this is IH but I figured I would start here.
Hi All,
Running version 1.58a on a linux server running PHP Version: 8.1.31
I get this error when I clear image cache in image handler 5
Couldn't delete /home/xxxx/outdoorking.com.au/bmz_cache/p.
This only just happend after doing the install and I am getting some error logs one of which is below
[13-Apr-2025 14:26:20 Australia/Sydney] Request URI: /trimmers-and-trimmer-parts/petrol-trimmers/mcculloch-trimmers/mcculloch-spare-parts/mcculloch-trimmer-starter-parts/mcculloch-genuine-starter-assembly-575309001?cPath=1796_2154_2163_2164, IP address: 20.171.207.230, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /includes/classes/bmz_image_handler.class.php(513): trigger_error()
#2 /includes/classes/bmz_image_handler.class.php(130): ih_image->calculate_size()
#3 /includes/functions/extra_functions/functions_bmz_image_handler.php(133): ih_image->__construct()
#4 /includes/classes/observers/ImageHandlerObserver.php(82): handle_image()
#5 /includes/classes/traits/NotifierManager.php(87): ImageHandlerObserver->update()
#6 /includes/modules/additional_images.php(113): base->notify()
#7 /includes/templates/bootstrap/templates/tpl_modules_additional_images.php(14): require('/home/xxxx')
#8 /includes/templates/bootstrap/templates/tpl_product_info_display.php(93): require('/home/xxxx')
#9 /includes/modules/pages/product_info/main_template_vars.php(163): require('/home/xxxx')
#10 /includes/templates/bootstrap/common/tpl_main_page.php(233): require('/home/xxxx')
#11 /index.php(94): require('/home/xxxx')
--> PHP Notice: Image Handler, calculate_size for /images/Product images directory/575309001_01.jpg returned false; image is corrupt. in /includes/classes/bmz_image_handler.class.php on line 513.
[13-Apr-2025 14:26:20 Australia/Sydney] Request URI: /trimmers-and-trimmer-parts/petrol-trimmers/mcculloch-trimmers/mcculloch-spare-parts/mcculloch-trimmer-starter-parts/mcculloch-genuine-starter-assembly-575309001?cPath=1796_2154_2163_2164, IP address: 20.171.207.230, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /includes/classes/bmz_image_handler.class.php(513): trigger_error()
#2 /includes/classes/bmz_image_handler.class.php(130): ih_image->calculate_size()
#3 /includes/functions/extra_functions/functions_bmz_image_handler.php(133): ih_image->__construct()
#4 /includes/functions/html_output.php(215): handle_image()
#5 /includes/modules/additional_images.php(119): zen_image()
#6 /includes/templates/bootstrap/templates/tpl_modules_additional_images.php(14): require('/home/xxxx')
#7 /includes/templates/bootstrap/templates/tpl_product_info_display.php(93): require('/home/xxxx')
#8 /includes/modules/pages/product_info/main_template_vars.php(163): require('/home/xxxx')
#9 /includes/templates/bootstrap/common/tpl_main_page.php(233): require('/home/xxxx')
#10 /index.php(94): require('/home/xxxx')
--> PHP Notice: Image Handler, calculate_size for /images/Product images directory/575309001_01.jpg returned false; image is corrupt. in /includes/classes/bmz_image_handler.class.php on line 513.
[13-Apr-2025 14:26:20 Australia/Sydney] Request URI: /trimmers-and-trimmer-parts/petrol-trimmers/mcculloch-trimmers/mcculloch-spare-parts/mcculloch-trimmer-starter-parts/mcculloch-genuine-starter-assembly-575309001?cPath=1796_2154_2163_2164, IP address: 20.171.207.230, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 /includes/classes/bmz_image_handler.class.php(513): trigger_error()
#2 /includes/classes/bmz_image_handler.class.php(130): ih_image->calculate_size()
#3 /includes/functions/extra_functions/functions_bmz_image_handler.php(133): ih_image->__construct()
#4 /includes/functions/html_output.php(215): handle_image()
#5 /includes/modules/additional_images.php(130): zen_image()
#6 /includes/templates/bootstrap/templates/tpl_modules_additional_images.php(14): require('/home/xxxx')
#7 /includes/templates/bootstrap/templates/tpl_product_info_display.php(93): require('/home/xxxx')
#8 /includes/modules/pages/product_info/main_template_vars.php(163): require('/home/xxxx')
#9 /includes/templates/bootstrap/common/tpl_main_page.php(233): require('/home/xxxx')
#10 /index.php(94): require('/home/xxxx')
--> PHP Notice: Image Handler, calculate_size for /images/Product images directory/575309001_01.jpg returned false; image is corrupt. in /includes/classes/bmz_image_handler.class.php on line 513.
Any assistance would be a great help.
Hi
zen 2.1.0, IH 5.3.5
Small, medium or large images they all have an option to select an image extension (etc, jpg, webp, png...) but images on product listing pages don't (which ever option is selected, the extension stays the same as original file extension). However, the IH cashes product listing images (which is good). I am trying to have it converted from .jpg to .webp. Is there any option within the code to that quickly or based images would have to be uploaded in .webp format?
I would appreciate any input on that. Thank you.
You don't say what template is in use, but for most templates the product-listing pages use the 'base' product's image for display (as you've identified).
I'm not aware of any option (although web-searches can be your friend) to convert a set of .jpg images into their .webp format.
Thank you for your answer. I am using my template which is based on responsive classic template.
My thinking was if product listing images are cashed (in the same way as small, medium and large images) then maybe changing the code or passing an argument to a function would allow for generating it as webp. I think there must be a way of doing it as the conversion from jpg to webp works. I would rather avoid changing the images off-side (time consuming). Having said that, my only option is to analyze the code. Or maybe somebody has done it before and can shed some light on it.
Hi All,
Running version 1.58a on a linux server running PHP Version: 8.1.31
Template Bootstrap Version 3.7.4
CKEditor version 5
Image Handler version 5
Australia Post Shipping Module V2.5.7a
I don't know if I am doing something wrong or not and would like to know please.
1. This is the product that I have two of under different Brands links below:
https://www.outdoorking.com.au/murra...ulley-092852MA
https://www.outdoorking.com.au/brand...ideon-092852ma
2. Note that I have one of the pulley box on the first link loaded as 092852MA.jpg
3. On the second link I have loaded image of the pulley as 092852MA_01.jpg
4. I thought that image 092852MA_01.jpg would also show up on the first link or am I wrong in assuming that?
Now to my second issue is with the water mark size.
In order to get it to show in a larger size do I have to save the image in different sizes for small, medium and large.
Some guidence on this would be appreciated as I don't want to start playing with it until I know what I should do.
Once again thank you for any assistance.,
IMHO you shouldn't do that with the undescores.
Better is 123-a.jpg and 123-b.jpg
You need to prepare the watermark files in the /images/ folder for the configured resolutions.
Then just upload the large image and IH will do the work for you.