how do I make an album out of a directory of pictures?

zhangweiwu

Joined: 2004-07-30
Posts: 14
Posted: Thu, 2007-10-11 09:35

using gallery 1.5.4, how do I make an album out of a directory of pictures? I mean, I have a directory with hundreds of photos in it and now is it possible to 'transform' it to an album? I can upload the whole directory but then 1) I have to first download it from the web server to my desktop, which is going to take a lot of days; and 2) after I uploaded it back to the web server, the image file modification date and creation date is changed to the time of upload. This is bad because the same directory is also offered as FTP directory and my users rely on correct modification date to only to download the files that has been changed.

I also hope all image thumbnail started with single dot (.thumbnail.pic123.jpeg) so that my ftp users are not bothered with a lot of thumbnail files. Or, even better, store the thumbnails in some place else (e.g. /var/www/ablums/thumbnails).

Thanks in advance!

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2007-10-11 09:45

Hello,

Gallery can not use your FTP-Folder for storing pictures.
It has its on folder. (so called 'albums' folder)
Gallery is not just a image display, it also saves metadata like captions, comments, clicks etc. All this data is stored together.

But you do not have to download them. You can 'upload' them from your server. You see this option as a tab in the upload dialog.
Gallery thumbnails will not start with a dot. They are named like the original pictures plus an addition.
They are stored in the same place where the pictures are located.

You'd need to modify the code to have them start with a dot.
Same for the location.
Both things are a real heavy changes which can break Gallery easily.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
morgad

Joined: 2007-08-11
Posts: 39
Posted: Thu, 2007-10-11 20:59

Have you tried the 'add items' plugin?

all the photo's in my gallery were added from directories on the webserver.

Dave
--
http://www.morgad.co.uk/gallery2/main.php