
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!
Bookmarks