Title: jQuery Lightbox For Native Galleries
Author: Automattic
Published: <strong>2008 年 8 月 2 日</strong>
Last modified: 2012 年 7 月 13 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/jquery-lightbox-for-native-galleries.
svg)

# jQuery Lightbox For Native Galleries

 作者：[Automattic](https://profiles.wordpress.org/automattic/)

[下载](https://downloads.wordpress.org/plugin/jquery-lightbox-for-native-galleries.zip)

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

 [支持](https://wordpress.org/support/plugin/jquery-lightbox-for-native-galleries/)

## 描述

**DISCONTINUATION NOTICE:** Development on this plugin has ceased in favor of the
carousel module in the [Jetpack plugin](https://wordpress.org/extend/plugins/jetpack/).
I recommend you use that plugin instead — it’s much more full featured.

Makes the native WordPress galleries use a lightbox script called [ColorBox](http://colorpowered.com/colorbox/)
to display the fullsize images right there in the page. No modifications required.

You can also make single non-`[gallery]` images use the lightbox by giving their
links a class of “lightbox”, like so:

    ```
    <a href="..." class="lightbox"><img src="..." alt="..." /></a>
    ```

## 安装

Log into the administration area of your blog and click on Plugins -> Add New in
the menu. Search for the name of this plugin and then click install on the right
side, and then again in the pop-up window.

## 常见问题

  Installation Instructions

Log into the administration area of your blog and click on Plugins -> Add New in
the menu. Search for the name of this plugin and then click install on the right
side, and then again in the pop-up window.

## 评价

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

### 󠀁[Plugin não funciona no WP 5.5.1](https://wordpress.org/support/topic/plugin-nao-funciona-no-wp-5-5-1/)󠁿

 [Isaac Newton Ribeiro de Araújo](https://profiles.wordpress.org/isaacribeiro/) 
2020 年 10 月 18 日

O jQuery Lightbox For Native Galleries não funciona na versão 5.5.1 do WordPress.
Todas as publicações e páginas ficam em branco quando ele é ativado. Curiosamente,
o problema não se repete quando outro plugin lightbox é ativado, mas a aparência
das galerias de imagens não é boa.

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

### 󠀁[Great. Works until now](https://wordpress.org/support/topic/great-works-until-now/)󠁿

 [Tom](https://profiles.wordpress.org/thommen/) 2020 年 5 月 22 日

Great. Works until now with the latest WordPress.

 [ 阅读所有10条评价 ](https://wordpress.org/support/plugin/jquery-lightbox-for-native-galleries/reviews/)

## 贡献者及开发者

「jQuery Lightbox For Native Galleries」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Automattic ](https://profiles.wordpress.org/automattic/)
 *   [ Alex Mills ](https://profiles.wordpress.org/viper007bond/)

「jQuery Lightbox For Native Galleries」插件已被翻译至 3 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/jquery-lightbox-for-native-galleries/contributors)
为本插件所做的贡献。

[帮助将「jQuery Lightbox For Native Galleries」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/jquery-lightbox-for-native-galleries)

### 对开发感兴趣吗?

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

## 更新日志

#### Version 3.2.2

 * Update ColorBox to v1.3.14 (see [it’s changelog](http://colorpowered.com/colorbox/core/README)).
   Fixes functionality under WordPress 3.1.

#### Version 3.2.1

 * Update ColorBox to v1.3.8 (see [it’s changelog](http://colorpowered.com/colorbox/core/README)).

#### Version 3.2.0

 * Make any link that has the class `lightbox` into a lightbox. No grouping or anything,
   at least for now.

#### Version 3.1.4

 * Don’t change the attachment link inside the admin area.

#### Version 3.1.3

 * Update ColorBox to v1.3.6 (see [it’s changelog](http://colorpowered.com/colorbox/core/README)).

#### Version 3.1.2

 * Remove IE PNG fixes as they require a full URL and it’s not worth the trouble.
   Works well enough in IE8.
 * Change how groups of images are labeled (use a random number rather than the 
   gallery’s ID so it works with the Twenty Ten theme).

#### Version 3.1.1

 * Update ColorBox to v1.3.4.

#### Version 3.1.0

 * Update ColorBox to v1.3.3.
 * Include all five of the default ColorBox themes and add a settings page to pick
   between them.
 * Change the lightbox maxwidth and maxheight to 95% as I think it looks better.

#### Version 3.0.2

 * Don’t do anything inside of feeds (i.e. modify the thumbnail links).

#### Version 3.0.1

 * Fix spelling mistake on the ColorBox style ID.

#### Version 3.0.0

 * Switch the awesome [ColorBox](http://colorpowered.com/colorbox/). It looks pretty
   and does large image resizing. Yay!

#### Version 2.0.1

 * Remove an extra comma that was breaking stupid Internet Explorer. Props [Troy](http://troycawley.com/).

#### Version 2.0.0

 * Switched lightbox scripts as I was unhappy with the previous one.

#### Version 1.1.0

 * Update jquery_lightbox package. It now supports resizing images that are too 
   large as well as not disabling IE6 support.
 * Makes the lightbox gallery-aware, i.e. don’t allow next/prev between image sets.
   Thanks to Benjamin “balupton” Lupton!

#### Version 1.0.1

 * Better WordPress 2.6 support (i.e. when you have a moved plugins directory).

#### Version 1.0.0

 * Initial release.

## 额外信息

 *  版本 **3.2.2**
 *  最后更新：**9 年前**
 *  活跃安装数量 **4,000+**
 *  WordPress 版本 ** 2.6 或更高版本 **
 *  已测试的最高版本为 **3.4.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/jquery-lightbox-for-native-galleries/)、
   [German](https://de.wordpress.org/plugins/jquery-lightbox-for-native-galleries/)、
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/jquery-lightbox-for-native-galleries/)
   和 [Swedish](https://sv.wordpress.org/plugins/jquery-lightbox-for-native-galleries/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/jquery-lightbox-for-native-galleries)
 * 标签
 * [gallery](https://cn.wordpress.org/plugins/tags/gallery/)[jquery](https://cn.wordpress.org/plugins/tags/jquery/)
   [lightbox](https://cn.wordpress.org/plugins/tags/lightbox/)
 *  [高级视图](https://cn.wordpress.org/plugins/jquery-lightbox-for-native-galleries/advanced/)

## 评级

 4 星（最高 5 星）。

 *  [  6 条 5 星评价     ](https://wordpress.org/support/plugin/jquery-lightbox-for-native-galleries/reviews/?filter=5)
 *  [  2 条 4 星评价     ](https://wordpress.org/support/plugin/jquery-lightbox-for-native-galleries/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/jquery-lightbox-for-native-galleries/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/jquery-lightbox-for-native-galleries/reviews/?filter=2)
 *  [  2 条 1 星评价     ](https://wordpress.org/support/plugin/jquery-lightbox-for-native-galleries/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/jquery-lightbox-for-native-galleries/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/jquery-lightbox-for-native-galleries/reviews/)

## 贡献者

 *   [ Automattic ](https://profiles.wordpress.org/automattic/)
 *   [ Alex Mills ](https://profiles.wordpress.org/viper007bond/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/jquery-lightbox-for-native-galleries/)