Question for Gallery Hacking wizards

BakerQ

Joined: 2005-12-12
Posts: 1
Posted: Mon, 2005-12-12 23:10

A couple years ago I'd written my own photo album application.

You can see it at http://photo.quentinbaker.com (that's not an advertisement, I highly doubt the code is portable to anything anymore) - I've never upgraded or switched packages because I have a 'vision' of what I want my photo album to be like. There are two specific features that need and, since I couldn't find them elsewhere I had to write my own. I really like Gallery 2, and would love to see these two features realized in the form of a module or whatever, but I don't know if it's even possible - that's where you guys come in.

The first feature, and the one that I'm determined to have no matter what the application, is a fuzzy date system. Essentially, I'd like to add photos with dates as specific as a timestamp, or as fuzzy as "Circa 1976". The way I'd coded it, there were seperate fields for year, month and date. If any were "0", it was unknown, and then another function read those date fields and produced a human readable date ("December, 2004" or "September 25th, unknown year") as well as a psuedo-timestamp. This allowed pictures to all be organized chronologically without specific dates for every one (pictures taken *sometime* in 1994 appeared before January 1994, etc.)

The second feature is a list of subjects. Each image had a "subjects" line where you'd type the names of subjects in the picture. Each time a picture was added, it would parse the subjects line for already known people and determine who's left or new to the database, then prompting you to add them if needed. This allows for a global database of subjects so that you could click on each name and be lead to a page "Pictures of Abraham Lincoln", or whoever. (Those pictures would then be listed in fuzzy chronological order.)

I'd also implemented the same sort of system for locations and child locations, so you could find all pictures taken at school, or in a particular class, etc, but these features aren't as important to me as the subject list and fuzzy dates.

The question is, how possible is it to implement this into Gallery 2? I dont' mind long hours of work coding, but is it feasable at all?

Thanks for reading this.
BakerQ

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Tue, 2005-12-13 12:53

The second feature you speak of sounds like a variation of the flikr tags. Sort of. Its a popular request and you could vote for it if you like. I think that would cover your usage, perhaps by modifying your method or the feature when it is designed and built.

I don't know about the first idea, but it sounds like a good one. I imagine it would be fairly simple to do something based on a "0" being any part of the date, either with a module or simply in your theme... or something.

Pretty much anything should be possible with G2, it was designed to be very flexible. If it isn't possible yet, but it makes sense to "enable" something to allow you to do it the developers are very willing to work on that. You can find them on irc.freenode.net, channel #gallery. Its the best way to get dev help because a lot of the time you'll get real-time feedback (and so will they).
_________________________________
Support & Documentation || Donate to Gallery || My Website