Title: imageLightbox
Author: Bjørn Johansen
Published: <strong>2014 年 5 月 20 日</strong>
Last modified: 2016 年 10 月 8 日

---

搜索插件

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

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

# imageLightbox

 作者：[Bjørn Johansen](https://profiles.wordpress.org/bjornjohansen/)

[下载](https://downloads.wordpress.org/plugin/imagelightbox.0.1.1.zip)

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

 [支持](https://wordpress.org/support/plugin/imagelightbox/)

## 描述

This is a WordPressified version of the excellent, lightweight (for real!) imageLightbox.
js (MIT-licensed) by Osvaldas Valutis (http://osvaldas.info/image-lightbox-responsive-
touch-friendly)

This is his introduction to the lightbox:
 “As for the image lightboxes, I have 
always lacked simplicity for them. I mean not only the visual design, but the overall
experience: from implementation to UX. All due respect, but I have never liked any
of these light-fancy-face-boxes. They all were solving problems that just don’t 
exist: lots of unwanted features by default, total mess in markup, no native behavior
for touch screens. I was working on a project and needed an image lightbox that 
solves these problems. I needed a lightbox only for images, not video, text, and
iframes at once. I made ImageLightbox.js.”

This version autodetects all links to image files and opens them in the lightbox.

For your “install, activate and go”-convenience, this plugin comes with a minimal
CSS that easily can be deactivated and/or replaced.

The plugin can also be themed to your liking. An example theme is available here:
https://github.com/bjornjohansen/imagelightbox-theme-smooth

Please let me know if you have any issues. Fastest way to get a response is by Twitter:
https://twitter.com/bjornjohansen

## 安装

 1. Download and unzip plugin
 2. Upload the ‘imagelightbox’ folder to the ‘/wp-content/plugins/’ directory,
 3. Activate the plugin through the ‘Plugins’ menu in WordPress.

## 常见问题

  How do I use the plugin with my images?

Autodetection FTW!

  How do I change the options?

FILTERS FTW! imageLightbox_options

  How do I replace the CSS with my own?

FILTERS FTW! imageLightbox_include_css

  How to I create my own theme for the plugin?

Have a look at https://github.com/bjornjohansen/imagelightbox-theme-smooth

  How do I use the lightbox on image links that are inserted with AJAX?

Call imageLightbox() on the elements: $(‘.newelements’).imageLightbox();

## 评价

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

### 󠀁[just tested with 4.8](https://wordpress.org/support/topic/just-tested-with-4-8/)󠁿

 [xemka](https://profiles.wordpress.org/xemka/) 2017 年 6 月 30 日

It seems to work on 4.8, but I don’t know how to check if there is any issues. For
now this plugin is doing perfectly what it’s supposed to do

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

### 󠀁[Great!](https://wordpress.org/support/topic/great-3676/)󠁿

 [Tymur Baizuldin](https://profiles.wordpress.org/tymur-baizuldin/) 2016 年 9 月
3 日

Great plugin! Thanks!

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

## 贡献者及开发者

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

贡献者

 *   [ Bjørn Johansen ](https://profiles.wordpress.org/bjornjohansen/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 0.1.1

Theming now possible

#### 0.1

Released

## 额外信息

 *  版本 **0.1.1**
 *  最后更新：**10 年前**
 *  活跃安装数量 **300+**
 *  WordPress 版本 ** 3.8 或更高版本 **
 *  已测试的最高版本为 **4.6.30**
 *  语言
 * [English (US)](https://wordpress.org/plugins/imagelightbox/)
 * 标签
 * [images](https://cn.wordpress.org/plugins/tags/images/)[jquery](https://cn.wordpress.org/plugins/tags/jquery/)
   [lightbox](https://cn.wordpress.org/plugins/tags/lightbox/)[lightweight](https://cn.wordpress.org/plugins/tags/lightweight/)
 *  [高级视图](https://cn.wordpress.org/plugins/imagelightbox/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Bjørn Johansen ](https://profiles.wordpress.org/bjornjohansen/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://www.kiva.org/)