I have gallery setup and working brilliantly. Good stuff. The problem is I have 40-50 different directories full of pictures. I am getting tired of the slow process of pointing gallery to the directory that is already present on my server with all of my pictures in it, waiting for it to fetch, resize and add.. Is there some kind of command line interface to gallery so that I could do something like:
foreach directory{
create new album, set name of album to directory name
add all pictures in directory to album
}
That way I could start it off and let it run over night. Any ideas??
Posts: 49
Look in the contributed code section. I think there is a PERL script to insert all the files in a directory. I've never tried it myself, but I did download it, to look at someday. It contains two scripts, AddDir and AddImage.
Posts: 487
I modified the perl script adddir.pl, look in the customize forum for my posts.
I also recommend switching to ImageMagic, it will make the process much
faster. If you use my mods, you can create new albums, set the title and
description as well as upload all the files in a directory at one time much faster
then doing it any other way currently.
I had, still have, the same issue as you which is what prompted me to do all that :razz: