Title: Responsive Lightbox2
Author: Noor Alam
Published: <strong>2016 年 5 月 20 日</strong>
Last modified: 2022 年 11 月 14 日

---

搜索插件

![](https://ps.w.org/responsive-lightbox2/assets/banner-772x250.jpg?rev=1420657)

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

![](https://ps.w.org/responsive-lightbox2/assets/icon-128x128.png?rev=1420657)

# Responsive Lightbox2

 作者：[Noor Alam](https://profiles.wordpress.org/naa986/)

[下载](https://downloads.wordpress.org/plugin/responsive-lightbox2.zip)

 * [详情](https://cn.wordpress.org/plugins/responsive-lightbox2/#description)
 * [评价](https://cn.wordpress.org/plugins/responsive-lightbox2/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/responsive-lightbox2/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/responsive-lightbox2/#developers)

 [支持](https://wordpress.org/support/plugin/responsive-lightbox2/)

## 描述

[Responsive Lightbox2](https://noorsplugin.com/responsive-lightbox2-plugin-for-wordpress/)
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](https://noorsplugin.com/responsive-lightbox2-plugin-for-wordpress/)
plugin page

## 屏幕截图

[⌊Responsive Lightbox2 Demo⌉⌊Responsive Lightbox2 Demo⌉[

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.

## 评价

![](https://secure.gravatar.com/avatar/18a90a1f243946ad3e2ee54ee19e6224f96a08a1bb8f783e60ac2beb7cecfb99?
s=60&d=retro&r=g)

### 󠀁[very good](https://wordpress.org/support/topic/very-good-4418/)󠁿

 [onijam191](https://profiles.wordpress.org/onijam191/) 2020 年 1 月 2 日

very good

![](https://secure.gravatar.com/avatar/96091a86c3df3fc9ce968126566173e5a062c7fd67cd238ec3a689a7271e79e9?
s=60&d=retro&r=g)

### 󠀁[Does what it says](https://wordpress.org/support/topic/does-what-it-says-780/)󠁿

 [Michael Smith](https://profiles.wordpress.org/wpreviewproduct/) 2019 年 2 月 23
日

Really like this plugin because the lightbox looks clean and shiny.

![](https://secure.gravatar.com/avatar/249b2c670e177e5196db0840d8c933787b1bd084eb5416790a403b8ea3942bc5?
s=60&d=retro&r=g)

### 󠀁[Stop telling me to visit your site](https://wordpress.org/support/topic/stop-telling-me-to-visit-your-site/)󠁿

 [Kittar](https://profiles.wordpress.org/kittar/) 2016 年 12 月 30 日

Annoying plugin

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/responsive-lightbox2/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Noor Alam ](https://profiles.wordpress.org/naa986/)

「Responsive Lightbox2」插件已被翻译至 5 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/responsive-lightbox2/contributors)
为本插件所做的贡献。

[帮助将「Responsive Lightbox2」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/responsive-lightbox2)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/responsive-lightbox2/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/responsive-lightbox2/)，或通过[RSS](https://plugins.trac.wordpress.org/log/responsive-lightbox2/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/responsive-lightbox2/)。

## 更新日志

#### 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

## 额外信息

 *  版本 **1.0.4**
 *  最后更新：**4 年前**
 *  活跃安装数量 **300+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **6.1.10**
 *  语言
 * [English (Australia)](https://en-au.wordpress.org/plugins/responsive-lightbox2/)、
   [English (Canada)](https://en-ca.wordpress.org/plugins/responsive-lightbox2/)、
   [English (New Zealand)](https://en-nz.wordpress.org/plugins/responsive-lightbox2/)、
   [English (South Africa)](https://en-za.wordpress.org/plugins/responsive-lightbox2/)、
   [English (UK)](https://en-gb.wordpress.org/plugins/responsive-lightbox2/) 和 
   [English (US)](https://wordpress.org/plugins/responsive-lightbox2/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/responsive-lightbox2)
 * 标签
 * [gallery](https://cn.wordpress.org/plugins/tags/gallery/)[images](https://cn.wordpress.org/plugins/tags/images/)
   [lightbox](https://cn.wordpress.org/plugins/tags/lightbox/)[photos](https://cn.wordpress.org/plugins/tags/photos/)
   [responsive](https://cn.wordpress.org/plugins/tags/responsive/)
 *  [高级视图](https://cn.wordpress.org/plugins/responsive-lightbox2/advanced/)

## 评级

 3.7 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/responsive-lightbox2/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/responsive-lightbox2/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/responsive-lightbox2/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/responsive-lightbox2/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/responsive-lightbox2/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/responsive-lightbox2/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/responsive-lightbox2/reviews/)

## 贡献者

 *   [ Noor Alam ](https://profiles.wordpress.org/naa986/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/responsive-lightbox2/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://noorsplugin.com/)