Simple Lightbox

外掛說明

Simple Lightbox 是非常易用且可自訂、能為 WordPress 網站的圖片加入燈箱效果的外掛。

外掛功能

請前往管理選單的 [外觀] → [燈箱效果] 自訂燈箱效果,或點擊已安裝外掛清單中外掛名稱下方的 [設定] 連結。

  • 自動啟用連結 (不需手動撰寫程式碼)
  • 自動調整燈箱效果以符合視窗尺寸
  • 使用佈景主題自訂燈箱效果
  • 包含回應式佈景主題行動裝置最佳化
  • 可自訂燈箱效果的動畫
  • 可使用附加元件不受限制的自訂
  • 支援 WordPress 圖片附件連結
  • 支援小工具中的連結
  • 鍵盤導覽
  • 在燈箱效果中顯示媒體中繼資料 (媒體說明文字及內容說明等)
  • 依據頁面類型 (首頁、頁面、彙整頁面等) 啟用燈箱效果
  • 將圖片連結組成群組 (投影片輪播方式顯示)
  • 依據文章將圖片連結組成群組 (頁面中的每篇文章個別顯示投影片輪播)

使用方式

  1. 將圖片/圖片附件的連結插入至頁面或文章。

如此便大功告成。圖片會自動 (在使用者點擊後) 顯示燈箱效果。

  • 如需更多使用提示,請前往 Simple Lightbox 的官方網站頁面
  • 如需進一步了解 Simple Lightbox 的使用及自訂方式,請參考 Simple Lightbox 的線上說明

螢幕擷圖

  • 燈箱效果自訂選項
  • 淺色外觀樣式
  • 深色外觀樣式

安裝方式

  1. 安裝並啟用 Simple Lightbox
  2. 確認網站上目前啟用的佈景主題使用 wp_head()wp_footer()the_content() 範本標籤,這是任何佈景主題都該採用的標準。

常見問題集

如需進一步了解,請前往 Simple Lightbox 的官方網站頁面

使用者評論

2024 年 10 月 17 日
I like the simplicity of the plugin and it works with WP native image block. The ability to automatically group single images on a page or post and browse through them in the model box is great.
2023 年 10 月 31 日
So when i first starting using this plugin it was simple (as the title says), i took it further and created a custom gallery using ACF, at first it didnt work but a fast solid response from the developer fixed it all in a few days!! TAHNK YOU!!!
2023 年 7 月 28 日
Did not work when I used it for the first time using Gutenberg blocks. My mistake was I did not place the Gallery into the WP-content block. Fixed it worked like charm.
2023 年 3 月 24 日
I installed it, linked a picture and it worked. I could not find an embed of Google Fonts (using Firefox Inspector) so the GDPR-Complaint seems to be outdated.
閱讀全部 235 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Simple Lightbox〉的開發相關工作。

參與者

〈Simple Lightbox〉外掛目前已有 19 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Simple Lightbox〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

2.9.4

  • Optimize: Escape special characters in DOM attributes.
  • Update: Confirm WordPress 6.2-6.8 compatibility.

2.9.3

  • Hotfix: WordPress 6.1 wp_rand() bug (32-bit platforms) (#974)
  • Update: Confirm WordPress 6.1 compatibility
  • Optimize: Media item cache key generation
  • Optimize: Prune build tasks

2.9.2

  • Optimize: Symbolic link handing for file/directory paths.

2.9.1

  • Fix: Validate hook priority values (Let’s Getz Prioritized)

2.9.0

  • Add: Support WebP image format
  • Add: Support AVIF image format
  • Add: Documentation link to readme file
  • Optimize: Code cleanup/refactoring
  • Optimize: WPCS validation (Phase 1)
  • Optimize: Activate links after all other filters
  • Optimize: Plugin metadata retrieval
  • Update: Confirm WordPress 6.0 compatibility
  • Update: Build dependencies
  • Update: GitHub issue templates

2.8.1

  • Update: PHP 5.6 Compatibility
  • Add: PHPCS configuration
  • Add: GitHub Issue templates

2.8.0

  • Update: WordPress 5.3+ required.
  • Update: PHP 7.2+ required.
  • Optimize: Link detection up to 2x faster.
  • Optimize: Options data handling.
  • Optimize: Default title filtering.
  • Optimize: Standardize media item data structure to avoid conflicts with third-party data.
  • Optimize: Load only necessary media item properties in browser.
  • Optimize: Filter all media items (instead of each individual item).
    • Filter Removed: media_item_properties (single item).
    • Filter Added: media_items (all items).
  • Fix: area elements included in link detection (This is Jim’s Area).

See full changelog