Re: Image Handler 2 Support
Quote:
Originally Posted by nsabine
I hope this helps someone...
I was getting a "fatal libpng error: zlib error in bmz_image_handler.class.php on line 646" in my httpd error log.
In PHP 5.1, the compression factor should be 0 to 9. I fixed the problem by changing the compression factor.
This only affects PHP 5.1 and later, so check your php version in admin -> tools -> Server/Version Info
file: /includes/classes/bmz_image_handler.class.php
Line 646:
change
$ok = imagepng($image, $dest_name, $quality);
to
$ok = imagepng($image, $dest_name, 9);
good luck!
---------------------------------------
Hi, nsabine
My PHP version is PHP 4.4.1
GD Version bundled (2.0.28 compatible)
ZEN CART 1.3.02
------------
i keep stuck on that
does anyone know something?
thanks again
camargotobon:cry:
Re: Image Handler 2 Support
camargotobon,
Yours is a different error than mine. Most likely, you have uploaded your files using the wrong format. make sure your ftp client is configured to upload in ASCII format.
another way this could happen is if you edited the file and you have whitespace (a space or a carriage return) at the beginning of the file, before the opening php tag.
a third way could be an editor that added trash (a technical term :)) to the beginning of the file. I've heard that ultraedit and cpanel can do this to a file, although I've never used them myself.
-nick
Re: Image Handler 2 Support
Hi everyone,
I know other people have had this same problem but I can't seem to find an answer anywhere and am getting very frustrated lol...
I have installed IH2 with Zencart 1.3.0.1 - Use Proportional Images is set to 1 and IH resize images is turned on, but it doesn't seem to be resizing them! The file sizes for thumbnails are the same as for medium and large versions - the main reason we wanted to use IH2 was to try and help us reduce file sizes for thumbnails without having to go through all the products and manually make smaller images and upload them one by one...
www.bunkerminiatures.com if anyone needs to have a look.
If I can get an answer or some help or even a page number to look at in this thread I would be most grateful!
Christian
Re: Image Handler 2 Support
How do you upload images via ftp to the images/original folder? For whatever reason, I lose all permissions to this file once I install this mod and I can't see nor access it anymore. Has anyone else experienced this?
Re: Image Handler 2 Support
I haven't had that problem but I know that in the readme it tells you to make sure that you check to make sure the "bmz_cache" folder has the same permissions as your images folder...perhaps this has something to do with it?
Good luck!
Christian
Re: Image Handler 2 Support
Hi all,
I'm getting an error message when attempting to upload images:
[FONT="Courier New"]Unable to upload default image file.[/FONT]
I searched this thread for the error and it's come up before, but I wasn't able to find a solution. Any thoughts would be SO appreciated! We're unable to add any more products to our website until we get this fixed.
Thanks in advance! :wacko:
Tim
thetoyboat.com
Re: Image Handler 2 Support
Does anyone know if this mod works with the 1.3.5d release announced this morning?
I know it changes a couple of core files, and before I dig out Winmerge, I thought I'd better just check first!
Re: Image Handler 2 Support
Use the new v1.3.5 html_output file. The rest should be fine. The IH2 changes for html_output.php are already integrated into 1.3.5 for several reasons including convenience, but also validation benefits.
Re: Image Handler 2 Support
Hello,
I'm in the process of trying to finish my cart and get the hang of Image Handler (which is an amazing contribution!) but I'm running into IE errors. I'm getting this JS error when mousing over images:
'clientY is null or not an object'
I've read about the change from 'pageY' to 'clientY' but as you can see that didn't seem to fix the problem.
I've upgraded to 1.3.5 and used the html_output file from the new ZC release.
On a lesser note, my small pics in my product listings as well as my main product pic doesn't show a popup. I've read several pages of posts, but I can't seem to find a problem.
Here's an example of what I'm talking about:
http://www.radish.ca/index.php?main_...&products_id=1
I apologize in advance if the solution was in one of the threads, i'm hella tired right now!
I really appreciate the help.
Cheers,
Colin
Re: Image Handler 2 Support
Hello there,
Just upgraded to 1.35. So far, I am only having this problem relating to IH:-
Quote:
Warning: preg_match() [function.preg-match]: Unknown modifier 'h' in
/home/thegemtr/public_html/includes/classes/bmz_image_handler.class.php on
line 97
it keeps repeating, here for example:-
http://www.thegemtree.com/index.php?...index&cPath=28
Many thanks.