开发者

Using Image module to create an Image Gallery and view them using lightbox

The new version of the Image module has some components, one of them being image_gallery.module which creates some views and taxonomy for you to use.

Now I want that when the user clicks on an image uploaded into a gallery, it is displayed using lightbox. This was easily done when creating a content-type and setting the view to lightbox.

Now the questions are:

  1. Should I use image_gallery module?
    • If yes, how can I implement lightbox to it?
  2. Should I use the other way (creating content type开发者_如何学C and creating views manually)?
  3. Am I doing it completely wrong? :)

Any help is greatly appreciated.


I have found Jeff Eaton's Views Gallery to be a great and simple image gallery solution, and it will display images in Lightbox right out of the box. You need to have the lightbox2 module installed first though...

Here's the module: http://drupal.org/project/views_gallery

And here's a very informative screencast: http://www.lullabot.com/articles/photo-galleries-views-attach

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜