這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.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