這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Distinctive Lightbox

描述

Add a stunning lightbox to your website in seconds with Distinctive Lightbox.

Distinctive Lightbox is a lightweight, so you can expect no bloat here. Build using pure JavaScript, the plugin does not require additional libraries such as jQuery – meaning your users are only served the JS they need.

Features Overview

  • Easy to use. The plugin can be activated on any link which leads to an image, or even just links with the class you choose – its up to you.
  • Works with images & YouTube/Vimeo videos out of the box.
  • Show you media meta data (image title/description) via user-controllable captions, automatically.
  • Choose opening/closing/sliding animations to suit your tastes.
  • Image captions can be positioned to suit your needs.

About the plugin

As with most good plugins, Distinctive Lightbox was created to fulfil a need we (DistinctivePixels) had for a bloat-free, simple to use lightbox that works just as well on a desktop as it does in the palm of your hand.

Although a few others offer some good options, we felt we could do better – so here we have our offering.

We wanted the plugin to be as easy to setup as possible, and once its setup, you should be able to forget it. With that the mind we have made the plugin very flexible in how you can turn a regular link into a lovely lightbox.

Want any link which which leads to an image to be a lightbox? No problem! You just want links with a specific class or ID to trigger them? You got it!

The same goes for YouTube/Vimeo links – some other plugins make a fuss over this, or even worse, dont support them! Not here, just like for images, if you want the plugin to sniff out these links and turn them into something pretty – we got you.

螢幕截圖

  • Choose how you want the lightbox to be triggered.
  • Using Youtube/Vimeo videos? No problem, choose how you want the lightbox to work.
  • Slideshow or not? Its up to you.
  • Choose animations, description position and more.

安裝

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings -> Distinctive Lightbox admin screen to configure the plugin to your needs.

常見問題

How does the plugin work?

Simply install and head to the plugins setting to configure how you would like Distinctive Lightbox to operate.

What media does Distinctive Lightbox support?

Currently, images and youtube/vimeo videos can all be shown in our lovely lightbox.

Sound like the plugin is heavy, is it?

No, not at all. We made Distinctive Lightbox to be as lightweight as it is simple to use, so much so that we dont even require jQuery! Just our lean and mean JavaScript.

評價

2020年10月20日 1 reply
It works! I finally found a non jQuery lightbox plugin. Now my web site is much faster. Thanks for this plugin!
閱讀全部1個評價

貢獻者及開發者

“Distinctive Lightbox” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Distinctive Lightbox 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.1 (2020-06-30)

Image Handling Tweaks
*Title can description can now be automatically added to nested images.

1.0.2 (2020-07-02)

JS/Caption Improvements
*Searching for media titles/descriptions is now more robust.

1.0.3 (2020-07-02)

Refining content filter
*Searching for media titles/descriptions is now quicker.

1.0.3 (2023-03-21)

Maintenence
*Bug fixes and version update.