![]() |
|
Problems with watermarking (GD, png, freebsd) - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Problems with watermarking (GD, png, freebsd) (/thread-5971.html) |
Problems with watermarking (GD, png, freebsd) - geertbooster - 2009-10-11 Hi, Today I did add new photo's on my zenphoto instance. After adding the photo's I saw that my watermark wasn't working anymore on the new uploaded photo's. After trashing the image cache, the watermarks didn't work on any photo's anymore. The first time I did access a photo in full size after trashing the image cache, I didn't get the photo. The second time it always worked. By using the debug page I did get the following errors: ` Warning: imagecreatefrompng() [function.imagecreatefrompng]: gd-png error: setjmp returns error condition in /zp-core/lib-GD.php on line 25 Warning: imagesx(): supplied argument is not a valid Image resource in /zp-core/lib-GD.php on line 285 Warning: imagesy(): supplied argument is not a valid Image resource in /zp-core/lib-GD.php on line 295 Warning: Division by zero in /zp-core/functions-image.php on line 341 Warning: imagecopy(): supplied argument is not a valid Image resource in zp-core/lib-GD.php on line 90 Warning: imagedestroy(): supplied argument is not a valid Image resource in zp-core/lib-GD.php on line 340 Anyone seeing this problem? Because I'm seeing the same problems on the web which are not related to zenphoto, maybe this is a PHP bug? I am using PHP 5.2.11 and zenphoto 1.2.6. |