使用图像模块创建图像库并使用灯箱查看它们
新版本的 图像模块 有一些组件,其中之一是 image_gallery.module,它创建了一些视图和分类法供您使用。
现在我希望当用户单击上传到图库的图像时,它会使用灯箱显示。当创建内容类型并将视图设置为灯箱时,这很容易完成。
现在的问题是:
- 我应该使用 image_gallery 模块吗?
- 如果是,我该如何实现灯箱?
- 我应该使用其他方式(创建内容类型并手动创建视图)吗?
- 我这样做完全错了吗? :)
非常感谢任何帮助。
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:
- Should I use image_gallery module?
- If yes, how can I implement lightbox to it?
- Should I use the other way (creating content type and creating views manually)?
- Am I doing it completely wrong? :)
Any help is greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我发现 Jeff Eaton 的 Views Gallery 是一个很棒且简单的图像库解决方案,它开箱即用,可以在 Lightbox 中显示图像。不过,您需要先安装 lightbox2 模块...
这是该模块:
http://drupal.org/project/views_gallery
这是一个内容丰富的截屏视频:
http://www.lullabot.com/articles/photo-galleries-views-附加
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