"Mass upload", generating album names from directo

delusion_

Joined: 2002-08-15
Posts: 5
Posted: Tue, 2003-10-14 18:15

I'm wondering if this is a feature that could be easily implemented into the next version of Gallery Remote, where a user can specify a directory full of images/sub-directories and have them be uploaded to a gallery, using the parent directory name as the album name, and generating them as necessary. For example, if this is my directory/file tree:

.\
image.jpg
.\My Vacation Photos\
vacationpicture1.jpg
vacationpicture2.jpg
.\My Vacation Photos\Higher-Res\
hires1.jpg
hires2.jpg

You'd end up with two new albums, "My Vacation Photos" and sub-album "Higher-Res", with the image files placed inside of them.

If someone knows a way of doing this outside of Gallery Remote (and on the Windows platform) please let me know.

-Nicholas

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Tue, 2003-10-14 18:32

I have heard that people have had success using galleryadd.pl on Windows under cygwin. (it's a perl script).

 
delusion_

Joined: 2002-08-15
Posts: 5
Posted: Mon, 2003-11-03 18:09
jmullan wrote:
I have heard that people have had success using galleryadd.pl on Windows under cygwin. (it's a perl script).

Excellent! I just got it working with ActivePerl under Windows. Just ran "perl GalleryAdd.pl" and it worked right off the bat. Thanks a bunch.

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Mon, 2003-11-03 20:52

right off the bat? terrific! I will have to try again. Which version of ActivePerl are you using? Did you have to install any modules whatsoever?

 
delusion_

Joined: 2002-08-15
Posts: 5
Posted: Mon, 2003-11-03 21:54
jmullan wrote:
right off the bat? terrific! I will have to try again. Which version of ActivePerl are you using? Did you have to install any modules whatsoever?

GetOpt:Simple had to be added/downloaded to the Perl includes.

ActivePerl 5.8.0 build 806

 
loxly

Joined: 2003-01-28
Posts: 126
Posted: Wed, 2003-11-05 19:08

If this could be a Gallery Remote feature I would be on Cloud 9, I can't get galleryadd.pl to run and absolutely love Gallery Remote.

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Wed, 2003-11-05 19:51

I'm considering it for the next release of GR (1.3). Stay tuned...

 
loxly

Joined: 2003-01-28
Posts: 126
Posted: Wed, 2003-11-05 20:09

Kewl.... Cloud 9....

Let me know when it is in the daily builds...