I'm having some very frustrating problems with Image Handler after upgrading ZenCart from 1.3.7 to 1.3.8.
I am using Image Handler 2 for v1.3.x found here:
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=117
The problems I am having relate to proportionately sized images. I AM clearing the image cache after making config changes.
Settings:
Small Image Width 160
Small Image Height 160
Heading Image Width 57
Heading Image Height 40
Subcategory Image Width 160
Subcategory Image Height 160
Calculate Image Size true
Image Required true
Image - Shopping Cart Status 1
Image - Shopping Cart Width 80
Image - Shopping Cart Height 60
Clone Image Dir Owner false
Category Icon Image Width - Product Pages 57
Category Icon Image Height - Product Pages 40
Top Subcategory Image Width 160
Top Subcategory Image Height 160
Product - Image Width 350
Product - Image Height 263
Product - Image Medium Suffix _MED
Product - Image Large Suffix _LRG
ImageMagick path /usr/bin/
ImageMagick library path
Image - Product Listing Width 160
Image - Product Listing Height 160
Image - Product New Listing Width 160
Image - Product New Listing Height 160
Image - New Products Width 160
Image - New Products Height 160
Image - Featured Products Width 160
Image - Featured Products Height 160
Image - Product All Listing Width 160
Image - Product All Listing Height 160
Product - Number of Additional Images per Row 2
Product Image - No Image Status 1
Product Image - No Image picture no_picture.gif
Image - Use Proportional Images on Products and Categories 1
IH resize images yes
IH small image filetype no_change
IH small image background 255:255:255
IH watermark small images no
IH zoom small images yes
IH small image hotzone no
IH small image compression quality 85
IH medium image filetype no_change
IH medium image background 255:255:255
IH watermark medium images no
IH zoom medium images no
IH medium image hotzone no
IH medium image compression quality 85
IH large image filetype no_change
IH large image background 0:0:0
IH watermark large images no
IH large image compression quality 100
IH large image maximum width 800
IH large image maximum height 600
IH watermark gravity Center
IH zoom gravity SouthEast
PROBLEMS:
- From Config > Images > Small Image Width/Height:
"You can just set width (or height) to e.g. 100 and leave the other dimension blank (or set to 0). Now you specified a width (or height) that the image in question will be resized to. The height (or width) will be calculated according to the correct aspect ratio."
DOESN'T WORK consistently on top level categories (but works on SOME!) Instead, a value of 0 is added to the code sent to the browser, so the image is there, but it has a height of 0 so we can't see it! Also, when a dimension value is set to 0, the image is not stored in the Image Handler cache.
http://www.mimagallery.com/index.php?main_page=index&cPath=147
I don't see a difference between the images that work and the images that don't work. Can you see a pattern to the problem?
I have tried changing the Small Image Width/Height settings to various combinations 160, 160!, blank, 0, nothing helps. Anything other than what I have nw makes the situation worse.
Also, for the value:
"Image - Use Proportional Images on Products and Categories"
We want this ON---enable proportionate images. But it also says:
"NOTE: Do not use 0 height or width settings for Proportion Images"
This contradicts the Image Handler documentation, no?
- I want to set these to:
IH large image maximum width: 864
IH large image maximum height: 864
So image will resize and show largest side at 864 and other side a proportionate value. But this does not work: Popup will then show thumbnail or nothing at all.
I have this set to 800x600 and it seems to be working OK, but client wants that extra 64 px.
- Some (but not all!) product info images (MED) are displaying at thumbnail size:
http://www.mimagallery.com/index.php?main_page=product_info&cPath=148_22&products_id=194
Thanks in advance for looking at my issues!