Hi, newbie problem here. Installed 1.4.6 on Ubuntu 14.10. Had to mess around with ownership and permissions quite a bit to make it work, as the install script didn't like how it was set up. I'm using it for family/home use, not professional.
My installation is at /var/www/zenphoto
Anyway, I'm trying to make Zenphoto expose my existing photo/video folder, which is as ~/Pictures. I've tried setting a symlink to ~/Pictures in the /albums folder. The Pictures album shows up in the admin console, but is listed as having no images (it's got 17,000 images/videos all in a single folder (red flag?).
Then I tried editing zenphoto.cfg.php to make the album remote, and set it as ~/Pictures directly. No joy.
I feel like I must be missing something really basic, but I don't know what. Do I have too many files in my ~/Pictures folder for zenphoto to parse? Is there a permissions/ownership problem with the symlink or the remote folder?
One last detail. In both approaches, the zenphoto admin panel shows a few thousand images in the gallery, but when I go to view the gallery, it's completely empty (doesn't even show created album folders).
Comments
http://www.zenphoto.org/news/permissions-for-zenphoto-files-and-folders
So the folder is on the normal harddisk but outside the webserver. That will not work. Zenphoto does not support an albums folder from external remote sources. The albums folder must be on the server. It can be above the webroot though (that is what the config file option is about).
http://www.zenphoto.org/news/using-external-sources
17,000 images in one folder is a lot. Zenphoto can handle that if the server can. Please read here how the image discovery from the file system works:
http://www.zenphoto.org/news/caching
symlink does also work fine and is probably your best approach. Just make the "album" folder a symlink to the actual folder. I have all of my testing installations setup this way--eliminates the need to have multiple copies of the images.
Having a single album as a simlink should work as well, but I have not tried that.
Since the images are seen by the admin interface but not from the front end you are most likely getting a processing problem in the image caching. The number of images in the folder is quite large, so it may take too long to process all the images on your server and you server/browser is timing out.