Title: Add LightBox &amp; Title
Author: ppalli
Published: <strong>2009 年 3 月 19 日</strong>
Last modified: 2011 年 3 月 4 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/add-lightbox-title.svg)

# Add LightBox & Title

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

[下载](https://downloads.wordpress.org/plugin/add-lightbox-title.1.5.zip)

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

 [支持](https://wordpress.org/support/plugin/add-lightbox-title/)

## 描述

This plugin automatically add the rel=”lightbox[POST-ID]” to images linked in a 
post and in a comment, and recovers the image title.
 POST-ID is unique per post
so all images per post are grouped in one LightBox set. Doesn’t add the files required
for LightBox, it’s add the “rel lightbox” tag. You have to insert the required files
yourself in your theme, you can use [Lightbox 2](http://www.huddletogether.com/projects/lightbox2/),
[Shadowbox.js](http://www.shadowbox-js.com/) or an other script, or use a plugin
like [Shadowbox JS](https://wordpress.org/extend/plugins/shadowbox-js/).

## 屏幕截图

[⌊The code without Add LightBox & Title⌉⌊The code without Add LightBox & Title⌉[

The code without _Add LightBox & Title_

[⌊The code with Add LightBox & Title⌉⌊The code with Add LightBox & Title⌉[

The code with _Add LightBox & Title_

## 安装

 1. Unzip the folder /add-lightbox-title/
 2. Upload it in /wp-content/plugins/ of your WordPress installation
 3. Activate the Plugin
 4. And that’s it!

## 常见问题

  How disable the automatic addition for an image?

You must add rel=”nolighbox” to the image link.

  Which script is better to use?

Can work with any script that uses the tag rel=”lightbox[xy]”, we recommend the 
use of the script [Shadowbox.js](http://www.shadowbox-js.com/) by insert the script
in the theme or via the plugin [Shadowbox JS](https://wordpress.org/extend/plugins/shadowbox-js/).

  Shadowbox.js use the tag rel=”shadowbox[xy]” this plugin works however

Yes, [Shadowbox.js](http://www.shadowbox-js.com/) normally use the tag rel=”shadowbox[
xy]” but works however with the tag rel=”lightbox[xy]”

## 评价

此插件暂无评价。

## 贡献者及开发者

「Add LightBox & Title」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ ppalli ](https://profiles.wordpress.org/ppalli/)

[帮助将「Add LightBox & Title」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/add-lightbox-title)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.5

 * Released 25.05.2010
 * New: Compatible up to: 3.0

#### 1.4

 * Released 27.02.2010
 * New: Allow all characters in the name of the image (Thanks Thiago)

#### 1.3

 * Released 10.01.2010
 * New: Compatible up to: 2.9

#### 1.2

 * Released 12.06.2009
 * New: Compatible up to: 2.8

#### 1.1

 * Released 31.03.2009
 * Bug fix: If rel=”…” is alredy exist but not rel=”lightbox” add it
 * New: If user add rel=”nolighbox” not add rel=”lightbox[ID]”

#### 1.0

 * Released 24.03.2009
 * Bug fix: Add Lightbox to text link
 * Bug fix: Don’t add “rel=…” and “title=…” if already exist in the link

#### 0.2

 * Released 20.03.2009
 * Simplification of the code

#### 0.1

 * Released 19.03.2009
 * First Release

## 额外信息

 *  版本 **1.5**
 *  最后更新：**15 年前**
 *  活跃安装数量 **300+**
 *  WordPress 版本 ** 2.7.0 或更高版本 **
 *  已测试的最高版本为 **3.1.4**
 *  语言
 * [English (US)](https://wordpress.org/plugins/add-lightbox-title/)
 * 标签
 * [automatic](https://cn.wordpress.org/plugins/tags/automatic/)[images](https://cn.wordpress.org/plugins/tags/images/)
   [javascripts](https://cn.wordpress.org/plugins/tags/javascripts/)[lightbox](https://cn.wordpress.org/plugins/tags/lightbox/)
   [shadowbox](https://cn.wordpress.org/plugins/tags/shadowbox/)
 *  [高级视图](https://cn.wordpress.org/plugins/add-lightbox-title/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/add-lightbox-title/reviews/#new-post)

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

## 贡献者

 *   [ ppalli ](https://profiles.wordpress.org/ppalli/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/add-lightbox-title/)

## 捐助

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

 [ 捐助此插件 ](http://www.linhost.org/support-us/)