将灯箱效果添加到 NextGen Gallery Wordpress

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1223902/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 18:30:54  来源:igfitidea点击:

Add Lightbox Effect to NextGen Gallery Wordpress

wordpress

提问by Mike

Just can't seem to figure it out. How can I turn the lightbox effect on while using the Wordpress NextGen Gallery Plugin?

只是似乎无法弄清楚。如何在使用 Wordpress NextGen Gallery 插件时打开灯箱效果?

回答by Mike

Your answer was almost perfect, and certainly led me on the correct trail.

你的回答几乎是完美的,当然也让我走上了正确的道路。

The Lightbox plugin to enable the Lightbox effect in NextGen Gallery is actually deprecated, and replaced by the Slimbox Plugin by my compatriot Giuseppe Argento.

在 NextGen Gallery 中启用 Lightbox 效果的 Lightbox 插件实际上已被弃用,取而代之的是我的同胞 Giuseppe Argento 的 Slimbox 插件。

The official WordPress page for the plugin is here:

该插件的官方 WordPress 页面在这里:

http://wordpress.org/extend/plugins/slimbox-plugin/

http://wordpress.org/extend/plugins/slimbox-plugin/

Just install the plugin, then, in the Gallery options, go to:

只需安装插件,然后在图库选项中,转到:

Gallery >> Options >> Effects

图库 >> 选项 >> 效果

You can now choose "Lightbox," and it will work perfectly.

您现在可以选择“灯箱”,它将完美运行。

Just make sure that your images are not too big, as Lightbox/Slimbox does not resize images that come up in the modal layer above your Web page.

只需确保您的图像不会太大,因为 Lightbox/Slimbox 不会调整出现在您网页上方的模式层中的图像的大小。

I usually shoot for a maximum size of 800 x 600.

我通常拍摄的最大尺寸为 800 x 600。

回答by Phil

Not sure if this is exactly what you're asking but:

不确定这是否正是您要问的,但是:

3: I didn't get the Highslide or Lightbox effect working… NextGEN Gallery supports only Shutter and Thickbox as full integrated effect. All other effects are possible but you need to add them manually. You can use other plugins to add the effect. Highslide JS plugin or Lightbox JS Plugin

3:我没有让 Highslide 或 Lightbox 效果工作...... NextGEN Gallery 仅支持 Shutter 和 Thickbox 作为完全集成的效果。所有其他效果都是可能的,但您需要手动添加它们。您可以使用其他插件来添加效果。Highslide JS 插件或 Lightbox JS 插件

I found this @: http://alexrabe.boelinger.com/wordpress-plugins/nextgen-gallery/faq/(its Q #3) linked from: http://wordpress.org/extend/plugins/nextgen-gallery/faq/

我发现这个@:http: //alexrabe.boelinger.com/wordpress-plugins/nextgen-gallery/faq/(它的Q #3)链接自:http: //wordpress.org/extend/plugins/nextgen-gallery/常问问题/