Community

Way to select from images uploaded to ANY content type?

I'm new to Drupal and building a site for my band. I'd like to be able to upload images independently of creating a new instance of my band_event content type or a blog post. Is there a way that the gallery widget that shows when you go to select a file for upload can allow you to choose images that were previously uploaded into another content type? I see it displays other images previously loaded into the same content type. I was thinking of having a common band_image content type with an image field and a description so that images could be quickly dumped there to be associated with another content type later.

Please let me know if there's a way that this could be done. Thank you for your help.

Comments

Media Module?

Have you looked into the Media Module? http://drupal.org/project/media I think it provides the functionality that you want by selecting previously uploaded media files from a "library" very similar to functionality you might be familiar with in WordPress.

And here's a tutorial I found upon a quick search: http://www.ostraining.com/blog/drupal/media-field/

Let me know if this works for you :)

-Finn

I'm using media module

Thank you for the reply. I didn't include enough info in my original post. I am using the media module - and when I referred to the "gallery" I meant the media module's library feature.

I have a content type called band_image where images can be uploaded - and previous ones show in the library section. I'm hoping that images can be quickly dumped there and then later when a band_event content type is created, when an image is selected that the media module's library would display images that were previously uploaded to the band_image content type. Is that possible?

The alternative I was thinking of using is instead of having another image field in the band_event content type to instead use an entity reference pointing to the band_image images, although then I don't believe the user would be able to find the images as easily (would need to know the name).

Please let me know if you have any advice on how this could best be accomplished. Thanks again.

---

WYSIWYG + IMCE should get the job done:

http://drupal.org/project/wysiwyg
http://drupal.org/project/imce
http://drupal.org/project/imce_wysiwyg


My bad, didn't realize you wanted the image in a separate field. You could still create a text box and assign the WYSIWYG editor, but sounds like you already have quite a bit of content.

nobody click here