Is there a way to allow assets to be tagged (such as with freetagging) that way we can browse through the list of available files uploaded by all users with taxonomy? I plan to have a fairly large image gallery that users can contribute to, and allow them to embed any image from this gallery into pages they create on my site. Allowing them to filter through these assets by taxonomy (such as an autocomplete field that allows you to enter multiple terms and display only assets that match all these terms) would be very beneficial UI-wise. It would also be very cool to display a gallery of all assets (on the site, not just in the asset wizard) that can be browsed through with taxonomy.

Comments

lebisol’s picture

Hey bburan,
Interesting post/request as I am on the close project of trying to create a "member based image-gallery from their own Assets".
Newbie user here so some of these ideas/requests may be impossible. :|

-From what I read it seems that it would be the best to use Views http://drupal.org/node/209404 and produce custom submission page (node/add I belive) with custom content type...at this point we could add taxonomy fields for users to tag them. On other side somehow produce a filtered list/page of assets...again not sure if this will work but maybe gurus here can confirm.

-Maybe an alternative requrest would be if there is a way to have pre-defined sub-folder structure per each user that we can 'count on' to produce listing along with "taxonomy_access" module to controll taxonomy structure to follow?
eg.
/assets
-User1
--IMAGES*
---nature
---logos
--VIDEO*
---documentary
---modern
---religion
--CONTENT TYPE X
---yyy
---zzz

I hoped to tag along wih this reqest as I am looking for a suggestion before wondering in wrong path of additional modules and hacks.

Hope this is ok and thanks for your time!

djorn’s picture

Have you had a chance to play with the CCK asset field in the link you provided? I did, and the way I understand it works is that you need to upload assets to your "manager", then you select one of these assets to insert into the field. It seems a bit "clunky" and there's no immediately obvious way (for me at least) for a user to click on a button that says "insert asset" and get a window where they can filter through available by various combinations of terms and filters (such as added date, etc).

lebisol’s picture

You are right.
Check out this post http://drupal.org/node/159273 as well...to be honest I am at lost to which way to go.

wmostrey’s picture

Version: 5.x-1.0-alpha2 » 5.x-1.0-alpha3

Although this is indeed a really great idea, I don't know if the technical implementation should rely on the asset module. You would like to create a gallery to browse through the assets based on taxonomy. The logical implementation would be to actually use taxonomy in combination with views and panels to create the galleries (take a look at the documantion regarding assets and views and panels to create galleries). So use cck assets to create nodes, tag them, and go on from there to create the galleries.

djorn’s picture

I agree that is the optimal way to go for creating galleries. What I specifically had in mind was being able to use this gallery to browse select, using the asset browser plugin for TinyMCE, an asset to embed in the page. There's a module called easylink that allows a view to be defined and embedded into the TinyMCE plugin window. You can then use the view to browse through the available content on your site and select the appropriate link to insert into TinyMCE. I kind of like this approach because it makes it easy to create custom views of content in the TinyMCE plugin, but the way they implement it looks like a bit of a kludge.

Perhaps an alternate solution would be to allow users to browse through the gallery directly, select the asset they want, look up the "id" of the asset, then go to the node they want to insert it in and enter a tag such as [asset id:32] and the TinyMCE plugin would recognize this tag and replace it with the corresponding image?

wmostrey’s picture

Version: 5.x-1.0-alpha3 » 5.x-1.x-dev
Category: support » feature

There are plenty of ways to "tag" and share assets across users, for instance by setting up public folders or folders with permissions for certain roles. Other ways are to do this tagging and ordering on the nodes that host the assets. Adding tags would look like a fine idea but I currently don't have an idea on how to work this in the interface.

wmostrey’s picture

Status: Active » Closed (duplicate)

With the advise in my last comment you should have plenty of options. As for searching through different tags and other filters, I'm marking this as a duplicate for http://drupal.org/node/249672.