开发者

How do I create an image gallery in Drupal 7?

开发者 https://www.devze.com 2023-02-06 16:38 出处:网络
Which is the best way to upload images and show them up in galleries. There are many opt开发者_JS百科ions out there, would like to know which one plays best with Drupal 7.have a look at http://drupal

Which is the best way to upload images and show them up in galleries.

There are many opt开发者_JS百科ions 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 and image_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.

0

精彩评论

暂无评论...
验证码 换一张
取 消