I recently updated to the latest version of Zenphoto and was moving some photos around. However certain photos and their thumbnails are no longer rendering. I seem to be having a similar issue to another poster:
http://www.zenphoto.org/support/topic.php?id=30125Zenphoto version 1.4.4.1
PHP version: 5.2.17
Graphics support: PHP GD library bundled (2.0.34 compatible)
My Webhost states my max memory is 256Mb, which my php.ini reflects.
All photo sizes are ~5Mb
I don't see any relevant logs on the logs tab offhand.
With the latest version photos that are portrait layout but need to be rotated by their orientation tag, error out:
`Allowed memory size of 100663296 bytes exhausted (tried to allocate 11392 bytes) in /home/stassen/public_html/gallery/zp-core/lib-GD.php on line 325`
Snippit of line 324-329:
`
function zp_rotateImage($im, $rotate) {
$newim_rot = imagerotate($im, $rotate, 0);
imagedestroy($im);
return $newim_rot;
}`
Any thoughts on how I may resolve the image rotation issue? For the moment I am going to try to manually try rotating some photos and uploading them to bypass the need for the php to do the rotation. I figure that will work haha!
Thanks!
Comments
My issue is now resolved.
Been enjoying the Zenphoto platform, thanks guys!
http://www.zenphoto.org/news/why-are-some-of-my-thumbnails-sized-images-not-generated-why-does-zenphoto-make-my-server-crash-while-processing-images-