LinkedPhotoImport: Difference between revisions
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
<ul> | <ul> | ||
<li>Gather photos | <li>Gather photos from several locations (Windoze PC's) into one linux-based central media repository (aka mediacenter)</li> | ||
<li>Leave the photos at the original locations</li> | <li>Leave the photos at the original locations</li> | ||
<li>Anticipate some maintenance of photos at the original locations</li> | <li>Anticipate some maintenance of photos at the original locations</li> | ||
<li>Use [http://gallery.menalto.com/ gallery] (a great LAMP webapp) to manage the mediacenter photos</li> | <li>Use [http://gallery.menalto.com/ gallery] (a great LAMP webapp) to manage the mediacenter photos</li> | ||
<li>Minimize duplication on the mediacenter</li> | |||
<li>Management should include creation of a public directory for shared photos</li> | <li>Management should include creation of a public directory for shared photos</li> | ||
<li>Access to public photos via the web and for screensavers</li> | <li>Access to public photos via the web and for screensavers</li> | ||
</ul> | </ul> | ||
Line 25: | Line 25: | ||
<li>linked photo import script</li> | <li>linked photo import script</li> | ||
</ul> | </ul> | ||
Process: | |||
First, create the directory structure on mediacenter: | |||
mkdir /media/photos/unmanaged | |||
mkdir /media/photos/unmanaged\archive | |||
mkdir /media/photos/unmanaged\dump_cameras_here | |||
mkdir /media/photos/managed | |||
mkdir /media/photos/public | |||
Next, |
Revision as of 16:15, 29 February 2008
Requirements:
- Gather photos from several locations (Windoze PC's) into one linux-based central media repository (aka mediacenter)
- Leave the photos at the original locations
- Anticipate some maintenance of photos at the original locations
- Use gallery (a great LAMP webapp) to manage the mediacenter photos
- Minimize duplication on the mediacenter
- Management should include creation of a public directory for shared photos
- Access to public photos via the web and for screensavers
Solution components:
- gallery on mediacenter
- xscreensaver on mediacenter
- Windows nightly batch-file task to copy new photos to mediacenter
- Four directories on mediacenter
- archive - holds original photos
- dump - holds newest photos and symlinks to old in archive
- managed - holds symlinks to archive
- public - symlink to public directory in managed
- linked photo import script
Process:
First, create the directory structure on mediacenter:
mkdir /media/photos/unmanaged mkdir /media/photos/unmanaged\archive mkdir /media/photos/unmanaged\dump_cameras_here mkdir /media/photos/managed mkdir /media/photos/public
Next,