使用图像模块创建图像库并使用灯箱查看它们

发布于 2024-09-13 21:05:46 字数 376 浏览 1 评论 0原文

新版本的 图像模块 有一些组件,其中之一是 image_gallery.module,它创建了一些视图和分类法供您使用。

现在我希望当用户单击上传到图库的图像时,它会使用灯箱显示。当创建内容类型并将视图设置为灯箱时,这很容易完成。

现在的问题是:

  1. 我应该使用 image_gallery 模块吗?
    • 如果是,我该如何实现灯箱?
  2. 我应该使用其他方式(创建内容类型并手动创建视图)吗?
  3. 我这样做完全错了吗? :)

非常感谢任何帮助。

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 and creating views manually)?
  3. Am I doing it completely wrong? :)

Any help is greatly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

悍妇囚夫 2024-09-20 21:05:46

我发现 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文