Managing really large numbers of files?

Triumph

Joined: 2004-03-03
Posts: 11
Posted: Wed, 2004-03-03 06:01

I have an issue that I'm trying to get past and I'm wondering what other people have done about it or if they have thoughts on it.

I have approximately 8 gigs of photos and it's growing fast. I was working on my own web based photo / media presentation app until I came across Gallery, now I'm transisitioning to Gallery for many reasons, including user management.

In the app I was working on, the entire site was built based on an existing directory structure of photo files. You point the app to your existing directory structure, and it internally generates and stores thumbnails etc, but it doesn't copy the full image file. There is no need to "import" your files into the app. Where as with Gallery, when you publish/import photos, you immediately double your storage requirements for your photos.

What if someone were to make Gallery more data driven in the sense that "galleries" were based on directories full of photos? Publishing would then consist of simply creating a new directory in that structure and dumping photos in it. Gallery would then dynamically pick up that change and reflect it on the web, at that point allowing the admin to tweak descriptions and such.

I realize hard drives are really cheap these days, but for me that is not really the point, it's more about managability, design, and to some degree disk usage.

My questions are:
- For people with REALLY large amounts of photos to publish, how do you manage that? Do you just "bite the bullet" and publish/import all of your photos, doubling the space you use to store photos?
- Has anybody thought about modifying Gallery (would be an optional feature) so that it automatically, at runtime, builds galleries based on an existing directory and file structure, eliminating the need to "import" or "publish" photos? If you wanted to publish photos in gallery you would just create a new directory in your dir structure, dump the photos in there and gallery would pick up the changes automatically.

I realize what I'm talking about here is a design decision and the two approaches, data drives vs. a publish model each have their pros and cons.

I've searched the archives but have failed to find any big discussions about this, sorry if it's a repeat.

Keep up the good work on Gallery, it rocks as is, these are just ideas. And thanks to any who have input on my questions.

 
kable_wilmoth

Joined: 2004-03-03
Posts: 1
Posted: Wed, 2004-03-03 06:34

A friend showed me Gallery and all the features it had and I ran home to get it going.

I had the same concerns when trying to migrate my picture archive over to Gallery (almost 8 gigs).
* It took forever to upload them.
* It duplicated them on the machine

If I had time to contribute, I would try to make the following 'adjustments' to Gallery:
1. Be able to point Gallery at a root directory and dynamically realize new directories were created with pictures and auto create albums from them.
2. Delay the resizing of images until someone tried to view them, then cache them.

My main frustration is lack of time. So if I can pull the images off my camera and put them in one permanent location and Gallery just picked them up that would be great! Later on a free weekend, I would go back through and add captions etc

 
jroztocil

Joined: 2004-02-26
Posts: 2
Posted: Thu, 2004-09-09 05:45

Same thing here. I decided to hold off on Gallery inspite of the really cool features (v1.4.2) due to no bulk/batch import back that I could find in March 2004. I just looked at it again for grins to see if there were any updates and OMG I scrolled down to the bottom in the admin options "Add Photos" and found the XP Publishing Agent!! Very very cool.

While I would still love to see a way to handle existing data (like pointing at a root dir and doing some sort of auto import), I think that this makes it much more manageable.

Thanks!! :D

 
korstad

Joined: 2006-06-13
Posts: 2
Posted: Tue, 2006-06-13 17:31

I completely agree. I tried using Gallery on and off for the past year and was hoping for something to allow for this capability in the 2.x releases but have yet to see anything come down.

I too have a huge picture base with organization based on folder structure. I did use the symbolic like feature in 2.x to avoid file duplication and wasted space but that still did not solve the problem of easy gallery addition by realizing new directories were created. I could live with manually adding them to gallery, but the wife could not and I always had to go through and see what folders she added to the server and I had to created the galleries for her.

This was a pain. I have since migrated to http://phpgraphy.sourceforge.net/
“For users with thousands of pictures, don't worry as phpGraphy does use a real directory tree to store the pictures (as you probably already have on your hard-drive), you'll just have to upload your whole picture collection et voila, phpGraphy will generate the thumbnails and low-resolution pictures for you and even better, it can also auto-import IPTC description in the database”

Unfortunately, phpGarphy does not have near the other features Gallery has but this directory base gallery was a big one for me and a snap for the wife to upload photos and instantly available.

I will keep checking back from time to time to see if such a feature has been added to Gallery 2.x, I would love to come back over…