Re: Image Handler 2 Support
Hello, I've started customising a Zen Cart a few weeks ago and just now i installed Image Handler 2 and I get several errors with it, and being only in the beginner area at PHP and JS I am compelled to ask for help here.
(Also for the one who need it check the newly added contribution at http://www.zen-cart.com/index.php?ma...roducts_id=682 )
The shop I am working on is at http://www.abcplus.ro
I saw the Image Handler Support thread but it has 111 pages and I am very afradi that I won't find exactly my problem in there, therefore I am posting it here, maybe someone has an idea about what's not working
Some other information about other mod's installed:
Yahoo Categories
DHTML Tabs Lite
Sideboxes
(...many other sidebox related)
and I modified a lot many pages for proper html output.
The errors I get:
In the first screenshot firebug tells me that the JS events aren't defined.
That event is related with the second and third screenshot of errors that I get inside the admin.
And the other problem in the Admin =>Tools => IH2 is that instead of categories I see only *(in fact the categories are showing only in IE with Romanian Language, weirddd), atm that is not a problem, but after a few weeks the shop will have around 1000 products... and that will become a problem, any suggestion on the category displaying issue is very welcome .
Also when I try to see what the Preview menu I get the 2nd screenshot error(which i don't get no more, the only thing i get is the default image, no preview no watermark).
I am making screenshots to be fully comprehended, my english isn't that good at such late hours and after 15 hours of work :).
Thanks in advance for all the help.
Best regards, Arthur.]
This is an extremely long thread, it should be separated in topic of issues(for whom has the patience to do that :) )
Re: Image Handler 2 Support
the pictures are cached, the code is correct:
<img width="80" height="80" onmouseout="hidetrail();" onmouseover="showtrail('bmz_cache/b/b5885531bc18f08695fd2c8e036fa951.image.120x120.gif','Nokia 6230i',80,80,120,120,this,0,0,80,80);" style="position: relative;" title=" Nokia 6230i " alt="Nokia 6230i" src="bmz_cache/2/2cd05f5832be99927a7ce6f7a86f40ab.image.80x80.gif"/>
the b5885531bc18f08695fd2c8e036fa951.image.120x120.gif is where it's supposed....
Should the problem in the JS? and if there.. what could be it?
Re: Image Handler 2 Support
In the other thread, in which i decided not to write anymore, someone said that I most surely didn't copied right some files.....
Now I double and triple cheched everything....
and only one directory was out of it's place... copied it in the right place.
Still image zoom isn't working and no watermark and no aditional images :(
Edit: Now i get the same as the first time
Fatal error: imagepng() [<a href='function.imagepng'>function.imagepng</a>]: gd-png: fatal libpng error: zlib error in /home/xlips/public_html/abcplus/includes/classes/bmz_image_handler.class.php on line 646
Re: Image Handler 2 Support
I have read manyy posts from this thread and I want to say that I didn't touched the css.... and no file was deleted from my server. Sorry for so many posts, but i keep on reading and those 7 minutes for editing pass.
Re: Image Handler 2 Support
Re: Image Handler 2 Support
Nope, didn't help, I think that is another problem....thanks for answering :)
I have a correction to make.. I can upload aditional images from IH2.
I was stupid and tried to upload to Large.. but to default it works perfectly :D
Still no zoom and watermark.
Re: Image Handler 2 Support
OK , There's only zoom left... the other issues were related to my stupidity.
EDIT: The zoom related issues i'm 100% sure it's not human error from my side. I read and read and read, and tried different things, I crashed the catalog, I restore the backup, i reinstalled IH2, and the Zoom won't work.
Re: Image Handler 2 Support
Do you have jscript_imagehover.js in
includes/templates/YOUR_TEMPLATE/jscript/jscript_imagehover.js ?
Re: Image Handler 2 Support
Looking at your source code you are missing this line.
Code:
<script type="text/javascript" src="includes/templates/classic/jscript/jscript_imagehover.js"></script>
Means that you don't have the jscript_imagehover.js file in the right place or is missing.
As Rik pointed out you need to look here,
includes/templates/classic/jscript/
M
Re: Image Handler 2 Support
Quote:
Originally Posted by
tophand
Looking at your source code you are missing this line.
Code:
<script type="text/javascript" src="includes/templates/classic/jscript/jscript_imagehover.js"></script>
Means that you don't have the jscript_imagehover.js file in the right place or is missing.
As Rik pointed out you need to look here,
includes/templates/classic/jscript/
M
You should make sure the file is in template_default so your getting a load no matter what.