Tracker: Feature Requests

5 [G2] Albums auto indexing feature - ID: 1241344
Last Update: Settings changed ( ckdake )

I would like to use gallery software as it is by default
integrated in to ClarkConnect distribution.

I have 10000+ images on my harddrive in multiple of
(sub)directories. All this is under one top directory called
albums.

Now, I could mount or make symbolic link to this top
image directory/storage, so that all the images would
appear under gallery's album directory immediately.

Nice idea to bring all images online immediately, but it
does not work, as gallery complains about directories,
which has not been uploaded by the gallery tools.

I will not start uploading thousands of images into
gallery manually or with special tools, instead I will use
Pigalle, which does the "auto indexing" for me
automatically.
http://www.phpee.com/index.php?node=13

Each (sub)directory, will automatically appear as new
album. The Album structure is the same as directories
and sub-directories. Each Album is named
automatically as (sub)directory name.

Additionally, the thumbnails, resized cache image files
and metadata are in separate storage/directory, out of
messing my images directories.


Ilari ( arovuo ) - 2005-07-20 05:43

5

Open

None

Nobody/Anonymous

None

Gallery 2

Public


Comments ( 9 )

Date: 2008-04-17 07:09
Sender: coolaj86


http://www.phpbuilder.com/manual/en/ref.fam.php
http://www.gnome.org/~veillard/gamin

Perhaps php-fam could handle this? Or perhaps an entirely
not-integrated-into-gallery2 daemon that uses gamin (built specifically for
the purpose of updating the g2 database) could handle this.


Date: 2007-06-04 12:21
Sender: nobody

Logged In: NO

Great idea - it's the only thing keeping me from jumping headfirst into
the g2 game. I would use synctoy (rsync for windows, built by microsoft for
.net) to sync my photo directory to a samba share... if only g2 could
automatically scan that folder for updates and
add/remove/move/rename/rebuild as needed. This would be awesome for the
next release; god speed, gentleman.

-Bill (tomalakborg on gallery.menalto forums)


Date: 2007-05-14 14:40
Sender: looka


I agree that this is important one. Picassa does it very well, I love it.
When you set your local folder as an album it would be great if it would
stay in sync with it.
Or at least resync/rescan button for that folder (Although application
could sense changes automagicly).

I believe everyone has photos in filesystem folders with names and dates,
and nobody wants redundat copies nor their collection messed up. You should
rely on filesystem, handle additional data separetly, and leave user to
populate it with protocol of choice (ftp, webdav, cifs, whatever...)

Symlinks and recursions seem ok, if you could only get it to work for
diffs only (because rebuilding 10000+ root folder album doest really work
in real time - if at all). It should be a breeze then to trigger diff sync
on new file, or new root folder footprint or even in cron or manually.

I think it is a lot of points for small price.




Date: 2007-01-19 20:59
Sender: zaoliang


yes, please let's have this nice feature.


Date: 2005-11-07 10:41
Sender: arovuo

Logged In: YES
user_id=1315568

I just need this feature. It does not matter if it's G1 or G2.
I actually prefer G2, since that supports MySQL database for
metadata.


Date: 2005-10-31 18:33
Sender: nobody

Logged In: NO

I use G2 and I think this is what I want too - I want to
sync my gallery with the "My Pictures" folder in "My Documents"


Date: 2005-10-29 16:52
Sender: andy_stSourceForge.net SubscriberProject Admin

Logged In: YES
user_id=942712

Are you sure you want this for G1?
I guess this will be implemented rather for G2 than for G1.
Else we'll have to create a separate G2 RFE, since this is a
much requested feature for G2, but I couldn't find a RFE for
this yet.


Date: 2005-07-25 06:11
Sender: arovuo

Logged In: YES
user_id=1315568

I would like to see the functionality as soon as possible.

Basically, the functionality requested is : AUTOMATIC "Add
items from local server", as per your description.

Reason: The users just create a new directory on samba
share and copies the images from CF card into the created
folder, nothing more, nothing less.

So, the gallery should be able to notice new sub-directory
AUTOMATICALLY and add that as new album to to album
list. Album should be named after the new directory name.
Meta data could be added later.


Date: 2005-07-24 16:06
Sender: andy_stSourceForge.net SubscriberProject Admin

Logged In: YES
user_id=942712

G1 or G2? From your last sentence, it's clear that you mean
G1. A lot of the issues you mention here are addressed in
G2. All that G2 is missing is a "albums dir sync module",
which could be added.

G2 has the feature to use symlinks such that you don't waste
disk space for duplicates of the original files. G2 would
symlink each file separately, not the whole albums dir.

You could add all your items at once by "Add items from
local server", it would add all items from your albums dir
recursively and create the necessary nested sub albums
automatically.

G2 stores album titles and a lot of metadata in the database.
What we could do is a module that either periodically or on
click checks the albums dir and updates the database.

G2 stores thumbs, resizes and other cached data in
g2data/cache/, albums and original items are stored in
g2data/albums/


Attached File

No Files Currently Attached

Changes ( 5 )

Field Old Value Date By
category_id deleted 2008-10-24 19:29 ckdake
artifact_group_id Gallery 1 2005-11-07 11:32 andy_st
summary [G1] Albums auto indexing feature 2005-11-07 11:32 andy_st
artifact_group_id None 2005-07-24 16:06 andy_st
summary Albums auto indexing feature 2005-07-24 16:06 andy_st