Adding Images/albums recursively

jcummings

Joined: 2003-01-06
Posts: 20
Posted: Wed, 2003-01-08 09:15

I am interested in being able to add images/albums recursively to an album in gallery. What I mean is that if I am creating album FOO and
adding the images from /home/jcummings/images/FOO that I'd want (at least the option) to include the images from subdirectories under that, each subdirectory becoming a new nested album, and any sub-subdirectories becoming equally nested.

When one currently adds a zip file to a gallery album, it ignores paths and pulls out
all the images. In this case as well, I'd suggest, that users should have the option of
creating nested albums for each subdirectory automagically. This is, frankly, what I expected would happen if I dragged-and-dropped a combination of images and subdirectories containing images and subdirectories in gallery-remote, but it didn't.

So when adding /home/jcummings/images/FOO nested albums should be created
for /home/jcummings/images/FOO/image-set1
/home/jcummings/images/FOO/image-set2
/home/jcummings/images/FOO/image-set3
/home/jcummings/images/FOO/image-set3/sub-nested-album
etc.

I think this would greatly enhance the functionality of gallery. A user could organise an entire hierarchy of albums, nested-albums, nested-nested-albums (etc.) and photos on a hard-drive, zip them up and upload them and have that same structure mirrored in the hierarchy of albums.

If there is a way to already do this, let me know, otherwise if some enterprising person wishes someone to have someone test code to do this, let me know!

-James