How do I create an image gallery in Drupal 7?
-
24-10-2019 - |
문제
Which is the best way to upload images and show them up in galleries.
There are many options out there, would like to know which one plays best with Drupal 7.
해결책
have a look at http://drupal.org/project/media and http://drupal.org/project/media_gallery
다른 팁
In the past, I've just "rolled my own" by creating a simple Image
content type. If you're willing to create some content types and custom Views), you can create a powerful node-based gallery. This is a pet project of mine; I am currently developing a simple module creates an Image
content type with:
- Body text/teaser provides searchable short and long descriptions
- Built-in
image
field (CCK-image in D6) image_tags
andimage_collections
vocabularies. Quickly create "galleries" by using the autocomplete taxonomy widget. Use Pathauto to automatically give these vocabularies SEO-friendly URLs.- EXIF fields for desired piece of EXIF data. Store these as terms in
image_tags
(or similar).
It takes a little configuring (hence why I'm making the module), but it is a solid setup IMHO. You will need to do a little coding to format this data in a user-friendly fashion, but it's worth it.
The Media and Media Gallery projects @rakke mentions look promising. As for January 2011, they are still under active development but do have recent updates. These will surely give your site a more "polished" feel.