ZenphotoCMS Forum
- 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: (/thread-12846.html)



- Guest - 2026-09-21

Fullsize and watermarked image doesn't work.
In debug mode show this error
`



<b>Notice</b>: Undefined variable: newim in <b>/var/www/Projects/zenphoto/zp-core/full-image.php</b> on line <b>95</b>

<b>Warning</b>: imagesx(): supplied argument is not a valid Image resource in <b>/var/www/Projects/zenphoto/zp-core/lib-GD.php</b> on line <b>328</b>

<b>Notice</b>: Undefined variable: newim in <b>/var/www/Projects/zenphoto/zp-core/full-image.php</b> on line <b>96</b>

<b>Warning</b>: imagesy(): supplied argument is not a valid Image resource in <b>/var/www/Projects/zenphoto/zp-core/lib-GD.php</b> on line <b>338</b>

<b>Warning</b>: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in <b>/var/www/Projects/zenphoto/zp-core/lib-GD.php</b> on line <b>272</b>

<b>Warning</b>: imagecolorallocate(): supplied argument is not a valid Image resource in <b>/var/www/Projects/zenphoto/zp-core/lib-GD.php</b> on line <b>275</b>

<b>Warning</b>: imagecolortransparent(): supplied argument is not a valid Image resource in <b>/var/www/Projects/zenphoto/zp-core/lib-GD.php</b> on line <b>276</b>

<b>Warning</b>: imagealphablending(): supplied argument is not a valid Image resource in <b>/var/www/Projects/zenphoto/zp-core/lib-GD.php</b> on line <b>277</b>

<b>Warning</b>: imagecopyresampled(): supplied argument is not a valid Image resource in <b>/var/www/Projects/zenphoto/zp-core/lib-GD.php</b> on line <b>281</b>

`


- sbillard - 2009-03-31

looks like a change got lost. Line 79 of full-image.php should read `$newim = imageGet($image_path);`