I've encountered an issue with my images. If I upload images that are portrait, they are uploaded to the server, but they do not display in the gallery. However, the landscape images all upload and display fine.
No errors found in the zenphoto log. I checked the server and the image files are uploaded but the portrait images show up as empty boxes (with file names) while the landscape images show up fine. The "missing" images are missing from both the gallery (thumbnails) and the image page.
Approx 148 files were uploaded via ftp. I tried deleting and re-uploading a few times, all with the same result. I also tried upgrading to the newest version of zenphoto, same result.
Are the protrait images already "rotated" to portrait or do they need to be rotated by Zenphoto? If the latter, perhaps there is a problem with the rotation support in your PHP. Are the "missing" images showing up as "not found" (with the browser 'x') or just empty boxes?
The images I uploaded were not unique (as far as I can tell). I've uploaded two images to a test gallery (the 148 images I tried yesterday were password protected) to show you the behavior:
For me, the thumb and sized image both show with the browser red 'x', so I suspect that there was a script error in processing it. For script errors you need to look in your server CGI logs.
You are getting a memory error when processing the portrait image. I do not know what about portrait images would cause the processing to take more memory than the landscape ones, but using the trouble shooting guide article 25 you will see the error: ` Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 11392 bytes) in /home/content/c/o/w/cowleycrawford/html/album/zp-core/lib-GD.php on line 296 ` Your image filesize is 2.5 megabytes which is pretty big for WEB applications. However, it is not the file size that matters it is the image dimensions and the memory it takes to process the image. You might try disabling auto-rotation. Rotating an image will take more memory. So, specially if you think the image does not need to be rotated by Zenphoto that might be a work-a-round.
Also look at the articles above #25 in the guide for more information on images that are too large to process.
Comments
Approx 148 files were uploaded via ftp. I tried deleting and re-uploading a few times, all with the same result. I also tried upgrading to the newest version of zenphoto, same result.
http://www.cowleycrawford.com/album/test/
I took photos for an engagement shoot, came home, downloaded them to my hard drive, then uploaded them straight away. nothing special was done.
Not sure why this is happening... help!
`
Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 11392
bytes) in /home/content/c/o/w/cowleycrawford/html/album/zp-core/lib-GD.php on line 296
`
Your image filesize is 2.5 megabytes which is pretty big for WEB applications. However, it is not the file size that matters it is the image dimensions and the memory it takes to process the image. You might try disabling auto-rotation. Rotating an image will take more memory. So, specially if you think the image does not need to be rotated by Zenphoto that might be a work-a-round.
Also look at the articles above #25 in the guide for more information on images that are too large to process.
thanks for all of your time!!