I have the image module up and running and can create simple galleries to upload pictures. So now I decided to try something more complex - I would like to see the following structure -

* 2004 pics
- Family
- Parties
- Hiking Trips
* 2005 pics
- Family
- Parties
- Hiking Trips

This gives me two problems:
(1) When I nest albums inside each other like this, the main galleries page shows two albums for 2004 and 2005, but both state that there are no pictures in each album, even though there are albums inside of them.

(2) In making this structure each of the inner galleries has only one parent. For example if "Family" had both 2004 and 2004 pictures as parents then it would defeat the purpose of the above structure because the pictures would be the same whether you navigated through 2004 or 2005.
I guess what I'm asking is whether there is a way to tag images much like the way flickr tags images, or gmail tags email.

Thanks
JS

Comments

autowitch’s picture

There's a couple of different options:

Take a look at the folksonomy module (http://drupal.org/project/folksonomy). It provides the support for tags. It just provides the ability to support tags, but your image module may need to be tweaked to support the tags.

autowitch.org is testing a different tag module right now. It takes a somewhat different approach than the folksonomy module. It still has several bugs that need to be fixed. If you want to try it out, let me know.

-aw

jawahar’s picture

I'm willing to test it out. Let me know where to get it from, and if there is a cvs repository.

Also, is this a general tagging module for drupal or made specifically for the image module?

- js

autowitch’s picture

(I can't believe I forgot the folsonomy module in my original reply - edited with new info)

It's a general tagging module, but you can limit it to specific node types.

I don't yet have it in public beta yet, but I should be able to get a package together today. I'll post a reply here when it's ready.

-aw

autowitch’s picture

Here's an alpha release:

http://www.autowitch.org/node/4079

I hope it works for you. Let me know if you have any problems.

Tags are now enabled for all users, so you can play with the functionality online.

-aw

czarphanguye’s picture

Hey! Wow, thanks...

I will give this a try also.

Regards,

Czar

jawahar’s picture

I just tried out the beta release posted at autowitch.org and it works like a charm.

It seems to me that awTags an Folksonomy are pretty similar - the folksonomy provides just an API with different "realms" of tags, while awTags also has the tag browsing pages.

Do you think it would make sense to merge these two modules? i.e. have a single tagging module for drupal that supports
* Search for and, or, not combination of tags (to get the album heirarchy above)
* Provide an API for other modules to use (my priority being the image.module)
* Tag browser
* everything else in the current awTags module

- js

autowitch’s picture

I'm glad to hear that it's working for you.

I've been thinking about it. The underlying architecture is pretty different between the two. It should be possible to swap the awtags table for the folksonomy table. I'll do some experimentation with that - maybe I can get a partial merge for beta 2 or 3.

-aw

stevew’s picture

I've got the same situation, but I'd like to see a different solution. I'd like to see the image module support more than one taxonomy group at a time. One of them should be primary, and would control the top level of image.module menu, but the categories from the second one would be applied to each of the primary categories.

In your example above, you would need the "When" category as primary, first 2004, then 2005. Your "What" category would be secondary, but you'd only have to enter in "Family," "Parties," and "Hiking Trips" once. The module itself would take care of crossing When and What.

Steve
--
http://theme.etmeli.us/ - Drupal themes
http://etmeli.us/ - photos, commentary, occasional sarcasm

ryooki’s picture

I have the same issue as (1). I don't quite understand what people are saying in relations to tagging. I am willing to install another module to handle the issue, but I'd rather not. Especially since I just don't understand what it's about. My only other thought is moving to acidfree which is a really good module with lots of support.