Hi Folks,
I just want to make my entire photo library available to other devices like laptops, tablets etc. within my LAN. I don't want to publish photos in the cloud.
However, I thought it was a good idea to try Gallery for this purpose. As I try to add an album I got the impression that all items to be displayed in Gallery have to be stored in Gallery. But that's not what I want to do. The work flow would become too uncomfortable and disk usage too big because of all the duplicate photos. I tried an symbolic link in ...gallery2/g2data/albums pointing to the directory on my hard disk where the photos are located. But it does not work. No photos are displayed, no sub folders are visible etc.
Is there a way in Gallery to add an existing directory on the hard disk as an album?
Regards,
Karsten
Posts: 8339
use this method http://codex.galleryproject.org/Gallery2:How_to_Add_Items#How_to_Add_Items_from_the_Local_Server_.28or_with_FTP.29
add your directories to the local upload path and use the symbolic link option when adding items.
You can add entire directories.
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 2
Hi,
thank you very much for the answer.
I went through the description and actually it does work! Only links to the actual photos. Hence, no duplicate photos.
However, it is still some kind of duplicate workflow for me keeping my actual database in sync with the gallery folder. I always had to add photos two times. One to the database and then to the gallery folder.
Is there a way to script the ftp upload stuff in gallery?
Regards,
Karsten
Posts: 8339
The G2 API is pretty straightforward.
You would likely need:
http://codex.galleryproject.org/Gallery2:ItemAdd
I would probably setup node.js on the server and create a file watcher to detect changes to your upload path and add items automatically.
-s
________________________________
All New jQuery Minislideshow for G2/G3