"special" albums module (ie: newest photos)

gary_d

Joined: 2004-11-19
Posts: 26
Posted: Wed, 2005-06-08 02:25

In G1, I used an idea that was floating around for creating a special album-like (sort-of) link that would show the photo's resulting from a form of query on the existing photos. IE: the newest photo's uploaded in the past 30 days, etc.

Anyway, I took that idea and extended it to allow one of these special views based also on keywords. So, I could create a special album, and any photo with the keyword of "foobar" would appear in this album. The photo wasn't duplicated, but the album.dat,etc for that album was hacked to make it point back to the original folder. This allowed things such as slideshows to work. The biggest problem with this was that it resulted in so many hacks all over the G1 code, I'm afraid to update it to current as I lost track of the dozen of tiny hacks I had to make (and even if I hadn't, porting them would likely take quite a bit of time.)

(For a sample, check "Newest Photos" and "Daddy's Picks" albums at: http://laci.garyndenise.org/photos/44/

So, my question concerning G2 is: It seems that this should be EASIER to do with G2, as it already has provisions for "linking" photo's between albums. In addition, being that G2 stores everything in database tables, it would also assist in this, as a simple query could be associated with an album (ie: anything thats a photo thats newer than today - 30days) or (anything thats a photo where keywords like '%foobar%')

Has this been done yet? (I don't see it in the main G2 beta tarball) If not, is it possible to create a new album "type" with a G2 module? What would be a good starting place to get up to speed on doing that?

Thanks in advance for any help/advice
Gary

 
Tremelune

Joined: 2004-11-19
Posts: 33
Posted: Sun, 2005-06-12 01:03

I gotta say, this would be cool. The coolest feature I've seen in a photo gallery was a simple "tagging" feature that let you tag items. There would be dynamic albums that contained all of the items tagged with a certain word...Similar to attaching keywords, but it was more slick. I haven't checked too deep in Gallery 2 (maybe it's there)...AH, if so, lemme know...

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2005-06-12 02:14

It's not there, yet. A lot of people are asking about this type of "categorization". I know it's on the list of ideas of the Summer of Code project. I'm not sure if anyone has submitted an RFE on SourceForge yet.

Search the G2 forums there are 3 or 4 topics currently discussing this type of functionality that I've seen.

http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=31075
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=31461
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=31330