I'm working on a site now that displays a slideshow with the latest added content. The slideshow shows an image, the title of the article and the name of the category. It would be ideal to have just one content type called article where the category could be set dynamically in a drop-down menu. The problem is that I'd like different dynamic images depending on which category was chosen. Is this possible to achieve or is there some module that could help me do it?
A possible solution to this would be to have an archive of images that I already uploaded which users could chose from when creating a new post. WIth the basic module you only have the option to upload a new file or use default. Is there a module that lets the poster chose one of the already uploaded images when creating an article?
Right now I'm solving this by having different content types for each category but there must be a more flexible solution.
Comments
You may want to try
You may want to try taxonomy+views as "slideshow by category" switch and http://drupal.org/project/filefield_sources as re-usable images solution.
Thanks for the reply. I'll
Thanks for the reply. I'll look into these solutions and get back when I know how it went.
It works great!
Filefield sources was exactly what I needed. A simple way to solve my problem. Using views+taxonomy also works out well. It's good that several tags can be added for each article because that makes sense in some cases.
Only a small issue remains - I only want to display one main category in my slideshow, which I do by limiting the tag display to only one item starting at 0. By forcing the editor to write the tags with autocomplete (instead of checkboxes) we can control which tag will be displayed (the first in the row). Is there a way to control this when using checkboxes or will it be decided by alphabetical order?
You may want to apply sorting
You may want to apply sorting to tags list or split tags by "Main tag" (where only one item choice from tags list would be possible) and "Other tags" (where you may allow any tags in any order, since it will be not mixed with slideshow by Main tag appearance).
Good suggestion
Good suggestion, I'll look into it.