该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Responsive Lightbox2

描述

Responsive Lightbox2 plugin adds lightbox functionality to your WordPress site. It allows you to overlay images on top of the current page. You can add this lightbox popup effect to your website images, photos, album or even gallery. Responsive Lightbox2 is responsive and works on all modern browsers.

Responsive Lightbox2 is very user friendly so there is absolutely nothing for you to configure in the lightbox settings. All you need to do is install this plugin and add shortcode to a page to create beautiful lightbox popup.

Responsive Lightbox2 plugin is based on the original jQuery Lightbox script developed by Lokesh Dhakar. This plugin makes it possible for users to add Lightbox2 effect to their WordPress sites.

Requirements

  • Latest version of WordPress

Feature

  • Beautiful lightbox popup style
  • Flexibility of creating your own lightbox link
  • Pop up responsive images in lightbox
  • Trigger lightbox from either a text/image link
  • Compatible with WordPress multisite
  • Add lightbox to a text/image link
  • Enable lightbox functionality on your site which supports all major browsers
  • Use a simple shortcode anywhere on your site (Post, Page, Homepage etc.)to pop up an image in lightbox
  • Apply lightbox effect on images inserted into WordPress post/page
  • Add lightbox effect to an album or photo gallery
  • Add lightbox effect to a gallery of images
  • Responsive lightbox2 popup which works on mobile devices. Also it fits perfectly on smaller screens.

Responsive Lightbox2 Usage

Open lightbox from a text

Create a new post/page and use the following shortcode to create a text link which will trigger lightbox once clicked:

[lightbox2 url="http://example.com/wp-content/uploads/images/overlay.jpg" hyperlink="click here to pop up image"]

here, url is the link to the image file that you wish to open in lightbox and hyperlink is the anchor text.

Open lightbox from an image

[lightbox2 url="http://example.com/wp-content/uploads/images/overlay.jpg" hyperlink="http://example.com/wp-content/uploads/images/thumb.jpg"]

here, hyperlink is the anchor/thumbnail image.

Show Title in lightbox

[lightbox2 url="http://example.com/wp-content/uploads/images/overlay.jpg" title="overlay image" hyperlink="click here to pop up image"]

For detailed documentation please visit the Responsive Lightbox plugin page

屏幕截图

  • Responsive Lightbox2 Demo

安装

  1. Go to the Add New plugins screen in your WordPress Dashboard
  2. Click the upload tab
  3. Browse for the plugin file (responsive-lightbox2.zip) on your computer
  4. Click “Install Now” and then hit the activate button

常见问题

Can this plugin be used to pop up an image in lightbox?

Yes.

Can I use this plugin to open an image with Lightbox2 style?

Yes.

Is the lightbox window responsive?

Yes.

Is this plugin compatible with desktop, tablet and mobile devices?

Yes.

评价

阅读所有3条评价

贡献者及开发者

「Responsive Lightbox2」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Responsive Lightbox2」插件已被翻译至 5 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Responsive Lightbox2」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.4

  • Made some security related improvements suggested by wpscan

1.0.3

  • Made some security related improvements in the plugin
  • Updated the lightbox library to 2.11.3

1.0.2

  • Compatible with WordPress 4.8
  • Updated all the permalinks

1.0.1

  • First commit