Re: Image Handler 2 Support
The link i supplied above doesn't work.
This is the proper link and for some reason the downloads section doesn't have this in the files or at least when i downloaded Image Handler it didn't so maybe it does now.
http://www.zen-cart.com/forum/showth...658#post517658
Re: Image Handler 2 Support
Thanks for your reply!
Yes, the download of Image Handler included the jscript_imagehover.js file.
Off hand, I don't know how the client is uploading images. I assume via Image Handler.
There are no files in the images/large and images/medium folders other than the images included in the Image Handler module.
The files that are uploaded are minimum 800x600.
I just clicked the Image Handler > Admin > Scan for old files link and it found around 100 or so. I am backing up the DB and images folder (which will take at least an hour) and will report back if this fixed the problems.
Re: Image Handler 2 Support
Ran the scan, imported old images to database... now all the problem images have disappeared from the front end completely!
The import function removed those old images from the sub-folders in /images/. I'll restore the images folder backup.
Do I need to restore the products table in the DB too? The image paths in there look OK (pointing to /images.)
I notice that the images that are problematic have an img src of /images instead of /bmz_cache. And, there is an extra slash added to the onmouseover path:
Code:
onmouseover="showtrail('/images/elements_v1//b...
So, Image Handler seem to be having some trouble with those older files. Any other ideas?
None of this seems to address the other problem I have: Thumbnails are NOT proportional on top-level cat pages. They're all being resized to square and changing the value of "Top Subcategory Image Height/Width" has no effect:
http://www.mimagallery.com/index.php...ndex&cPath=148
Re: Image Handler 2 Support
After restoring the images folder, I ran the scan again, and all the problem images are located in a folder called /original/.
Re: Image Handler 2 Support
I've copied the files from /original/ into the appropriate sub-folders in /images/ and that has restored proportional thumbnails in some cases.
Other categories remain problematic:
http://www.mimagallery.com/index.php...ndex&cPath=148
Note that the thumbs here are coming from /images/categories/. On categories without this problem, the thumbs are coming from /bmz_cache/. Image Handler isn't handling the problematic thumbs. How do I get these properly generated by IH?
Also, I still have problems with some products where the large size image does not pop up at full size (though the source of the image is full size.)
http://www.mimagallery.com/index.php...oducts_id=1832
Re: Image Handler 2 Support
Quote:
Originally Posted by
stevensmedia
I've copied the files from /original/ into the appropriate sub-folders in /images/ and that has restored proportional thumbnails in some cases.
Other categories remain problematic:
http://www.mimagallery.com/index.php...ndex&cPath=148
Note that the thumbs here are coming from /images/categories/. On categories without this problem, the thumbs are coming from /bmz_cache/. Image Handler isn't handling the problematic thumbs. How do I get these properly generated by IH?
Also, I still have problems with some products where the large size image does not pop up at full size (though the source of the image is full size.)
http://www.mimagallery.com/index.php...oducts_id=1832
IH doesn't upsize images very well, IH will ignore images that are smaller then what you set in config-->Images.
You are uploading 1 image per product? And it is the largest image right? At least 864 x 864, the largest you want to display?
Re: Image Handler 2 Support
Thank you! That was key information. When I reduce the values set in Config > Images, everything works as expected with proportional sizing.
However, I don't want to define an image height. I just want to set width to 160 and have the height set in the correct aspect ratio.
From Config > Images > Small Image Width/Height:
Quote:
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."
This doesn't work since the upgrade of ZC and IH. It *used* to work.
If I set Small Image Width/Height to blank nothing happens. If I set it to 0, the thumbs disappear from the front end (in the code, they have a height of 0 and are thus not visible.)
Changes to Subcategory Image Height and Top Category Image Height don't seem to do anything---the image dimensions appear to be taken from the Small Image Width/Height settings.
Here's an interesting case:
http://www.mimagallery.com/index.php...ndex&cPath=147
The thumbnail called Tango has been resized to 31x160px. How can this be when the image settings for thumbs is 160x120? Shouldn't the max height be 120?
Re: Image Handler 2 Support
Hi Steven
I notice you have this in your admin and images settings.
Clone Image Dir Owner false
I don't have that in mine.
Is it possible some other module is interfering with Image Handler ?
Re: Image Handler 2 Support
Quote:
Clone Image Dir Owner
Set to 'true', if you want newly created images and directories to be owned by the image directory's owner. (Not yet functional!)
I don't know what that's from. I have one other ZC site runnin 1.3.8a and I don't see that configuration there. I did a search through all files in the site for the string "Clone Image Dir Owner" and came up empty. In the DB, I note that was set back in 2005. From an older version of ZC?
I used to have the HTMLArea Image Manager plugin installed, then after upgrading to 1.3.8a noticed that it was included by default with the newer HTMLArea distribution (so I still have it installed, but wasn't required to do any installation steps like I had to previous to 1.3.8a.)
I know I have Info Pages and Column Layout Grid, in addition to Image Handler.
There isn't a place in the ZC Admin that I can see all installed modules, is there (like WordPress' Dashboard > Plugins?)
Re: Image Handler 2 Support
Additional clues:
Medium images (product info) work perfectly. I have these set to 350x350, so largest side is 350, other side is resized in correct aspect ratio.
The hover/zoom feature is inconsistent and seems to be related to this "upsize" problem. When it does work, the image in the zoom is not much larger than the thumbnail, if at all.