ZenphotoThe simpler media website CMS
I am seeing on some images (seems like the same ones all the time)a black screen with {{ERROR} printed instead of the image.
There seems to be a few posts on this in this forum but if all the images are cached I thought it would be ok.
It seems that the ones that fail are always symlinks but not all symlinks fail.
An earlier post mentioned server space , unfortunately I have no tool to administer that nor am I in theory limited by the hosting service.
I will backup all my earlier test versions and delete them to see if this helps, there will surely be no space limitation then but in the meantime I am open to other causes to check.
Thanks
Comments
Such errors come form server not being able to process the images. Common reasons memory and server power. It can also be corrupt metadata.
If you host allows try Imagick instead of GD for processing. If available you can switch that on the Options > Image right at the beginning.
Can you elaborate a bit on "process the image"?
As far as I know I have a cache image for the sizes required including full size (though it might be a symlink to the actual image).
It seems to only be an issue for the full size image display. I am not asking for anything but the photo to be displayed (no exif data) and only the filename below the image.
Options > Theme > Exif is disabled
unfortunately only GDlibrary is available
As said before processing means resizing or cropping.
Maybe you have set it to be protected. Check your image options.
That is importing. But if metadata is corrupt it can break image processing even if GD does not preserve it in the resized images (unless that changed unknown to me).
I believe that I have all the needed images cached. Options > Theme > Crop thumbnails is indeed enabled but I believe that I have all the needed thumbnails cropped.
I don't know what zp will do to "process" a request for the full size image ...
I have
Options > Image > Full image protection
Disable hotlinking is unchecked
cache the full image is checked
I understand this to mean that images are unprotected. A request for an image URL is directly served the image without "processing" ?
Pointing a browser at the URL of the image that is displayed as ERROR get the same result as if I had gone to the album then clicked on the image or clicked on a different image and scrolled right or left to the offending image.
I can look at the metadata on the file on my mac with preview and it doesn't complain about anything but maybe it is more tolerant
This explains you questions:
Zenphoto will not serve the full image directly but via a page. Disable that to get the image directly.
Maybe. Maybe it is not the metadata and your serer is just not powerful enough. You maybe see time outs in logs or memory errors possible.
It appears that this only happens with images that have a space in the filename (but not always and not to every one) ...
The ones I have changes to test have not failed again.
It looks like I have a lot of files to rename and cached files to re-generate