[WordPress] 外掛分享: LightPress Lightbox

WordPress 外掛 LightPress Lightbox 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「LightPress Lightbox」是 2010-04-10 上架。
  • 目前有 40000 個安裝啟用數。
  • 上一次更新是 2025-04-16,距離現在已有 18 天。
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
  • 有 63 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

pandaboxwp |

外掛標籤

image | photo | gallery | lightbox |

內容簡介

這個外掛讓你保留了超棒的 Lightbox 2功能,卻移除了Prototype框架和Scriptaculous效果庫的大部分體積。

Warren Krewenki將Lightbox移植到了jQuery,而這個外掛主要是對他的工作進行了封裝:提供本地化支持、配置用戶面板、(可選的)自動為你的圖像鏈接打包以及支持WordPress相冊,包括媒體庫標題和說明。

這個版本還適用於移動設備:

在觸控設備上使用滑動手勢切換圖像
改進了縮放功能,最大限度地利用了屏幕空間
可以實時調整瀏覽器窗口和手機方向

在這裡看到這個外掛的實際效果:game.speldesign.uu.se

你可以用鍵盤瀏覽圖像:箭頭、P(上一張)/N(下一張)和X/C/ESC(關閉)。

//Ulf Benjaminsson

1.4.8.3 (2021-01-26)

新增設置,控制jQuery是否在標頭或頁腳中載入。

1.4.8.2 (2021-01-26)

將Lightbox移植到現代的jQuery(感謝:Joseph Rézeau aka papijo!)
改進了對Gutenberg編輯器圖像說明的支持(感謝:Joseph Rézeau aka papijo!)
測試至WordPress 5.6和PHP 7.4.12

1.4.8.1 (2019-03-24)

經過WordPress 5.x和PHP 7.x的測試,沒有功能性更改。

1.4.8 (2015-12-31)

修正了翻譯未正常加載的問題
修正了對WordPress 4.4的支持

1.4.7 (2015-09-21)

支援WordPress新的翻譯系統
更新了葡萄牙翻譯(感謝:Pedro Mendonça)
添加了葡萄牙的圖像和CSS(感謝:Pedro Mendonça)

1.4.6 (2015-03-20)

“下載鏈接”現在正確打開下載對話框,而不是顯示文件
現在可以逐個打開/關閉標題、說明和所有控制元素
新增支援自定義樣式表(只需將原始文件複製到主題的樣式文件夾中,並進行修改)
輕微重構HTML,使樣式更容易編寫
增加了所有元素的特定CSS選擇器
修正了動畫速度設置被忽略的問題
不再支援Internet Explorer 8的彩蛋支援
刪除了說明文本設置

1.4.5 (2013-06-09)

適應低分辨率顯示器上的屏幕邊緣
添加全局設置以隱藏標題和說明
減少每次顯示圖像運行的代碼量
更新德文翻譯(感謝Niko23)
修正了滑動方向
修正了幻燈片放映現在可以等待圖像顯示後再啟動計時器的問題
修正了對最新jQuery的支援問題
修正了WordPress對說明中錯誤引號標記的編碼問題,從而導致重復問題

原文外掛簡介

LightPress Lightbox is a popular, very lightweight lightbox plugin for WordPress. It is active 40,000 websites. After activation, settings will appear under ‘Lightbox’ on your website’s main admin menu, and images and galleries will open in a nice lightbox.
To make images open in the lightbox, you need to set images to “Link To:” media file. For image blocks, this setting is on the toolbar at the top of the block. For galleries, this setting is on the sidebar by other block options.
LIGHTBOX DEMOS
Free Lightbox Demo
Pro Lightbox Demo – Light Theme
Pro Lightbox Demo – Dark Theme
FREE LIGHTBOX FEATURES
– Automatic detection of images and galleries
– Customize colors of lightbox and navigation
– Classic and modern navigation styles
– Option to show info bar
– Option to show title or alt text
– Option to show download button
– Slideshow options
– Keyboard navigation
– And more!
Links:
-> Demos
-> Docs
-> Free Support
PRO LIGHTBOX FEATURES
LightPress Pro is a premium extension for this lightbox plugin that offers:
– Priority support via email directly from devs
– Powerful, Modern Pro Lighbox
– Beautiful, modern full-browser and full-screen ligthbox
– Dozens of customizations options
– Thumbnails within the lightbox
– Toolbar with controls for thumbnails, zoom, slideshow, and more
– Open videos (Youtube, Vimeo, self-hosted)
– Opens PDF files
– Opens content from external web pages
– Create easy modals and popup boxes
– Open image maps
– Flawless on mobile devices
– Hyper fast performance
-> VIEW PRO LIGHTBOX DEMOS
-> GET PRO SUPPORT
Background and Thanks
Special thanks to Ulf Benjaminsson, who created the original WP JQuery Lightbox plugin and maintained it for many years.
Additional Info
Copyright (C) 2010-2023 Ulf Benjaminsson.
Copyright (C) 2023-Present LightPress LLC.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「LightPress Lightbox」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 1.5 | 1.2.1 | 1.2.2 | 1.3.1 | 1.3.2 | 1.3.3 | 1.3.4 | 1.4.1 | 1.4.5 | 1.4.6 | 1.4.7 | 1.4.8 | 1.4.9 | 1.5.1 | 1.5.2 | 1.5.3 | 1.5.4 | 1.5.5 | 2.0.0 | 2.1.0 | 2.2.0 | 2.3.1 | 2.3.2 | 2.3.3 | 2.3.4 | trunk | 1.3.4.1 | 1.3.4.2 | 1.4.8.1 | 1.4.8.2 | 1.4.8.3 | 1.4.9.1 | 1.4.9.2 | 1.4.9.3 |

延伸相關外掛(你可能也想知道)

文章
Filter
Mastodon