
內容簡介
<!DOCTYPE html>
<html>
<body>
<h2>WordPress 外掛總結:</h2>
<p>這個 WordPress 外掛為核心的圖庫模組新增了燈箱功能,只需點擊簡單的切換按鈕即可。通過在“連結到”下拉選單中選擇“媒體文件”,可輕鬆為任何圖庫模塊啟用或禁用。選定後,燈箱切換將出現。此外,它通過過濾器支持自定義編碼的圖庫(請參考常見問題解答)。</p>
<h3>問題與答案:</h3>
<ul>
<li><strong>如何啟用或禁用每個圖庫模塊的燈箱功能?</strong>
<p>您可以輕鬆使用簡單的切換按鈕來啟用或禁用每個圖庫模塊的燈箱功能。</p>
</li>
<li><strong>這個外掛支援自定義編碼的圖庫嗎?</strong>
<p>是的,這個外掛支援自定義編碼的圖庫。您可以透過過濾器來了解更多(請參考常見問題解答)。</p>
</li>
<li><strong>這個外掛支援哪些交互功能?</strong>
<p>這個外掛支援觸控、滑鼠滾輪、鍵盤和滑鼠拖放互動,您可以雙擊或點擊/觸摸放大原始圖片。</p>
</li>
<li><strong>這個外掛有多輕量級?</strong>
<p>這個外掛非常輕量,僅為 2.75kb(已壓縮,包括 dLightbox.js 和 dLightbox.css),只有在頁面中存在核心圖庫模組或通過過濾器定義了自定義選擇器時才會載入資源。</p>
</li>
</ul>
</body>
</html>
外掛標籤
開發者團隊
原文外掛簡介
This WordPress Plugin adds Lightbox feature to the core Gallery block with a simple toggle button. Easily enable or disable it for any gallery block by selecting ‘media file’ under the ‘link to’ dropdown. Once selected, the Lightbox toggle will appear. It also supports custom coded galleries through a filter (check FAQ).
dLightbox.js is fully responsive, supporting touch, mousewheel, keyboard, and mouse drag interactions, double click or tap/touch to zoom original image, build-in thumbnails, as well as slide counters and figcaption. With no dependency on jQuery, dLightbox.js ensures optimal viewing experiences across all devices.
Although extremely lightweight at only 2.78kb gzipped for both dLightbox.js and dLightbox.css, the plugin only loads assets into the page if there is a core Gallery block or custom selectors defined via a filter.
Features
Enable/disable with a simple toggle button for each Gallery block individually.
Custom coded galleries support.
Supports touch, mousewheel, keyboard, and mouse drag interactions.
Double click or tap/touch to zoom original image.
Lightbox thumbnails with an easy toggle button.
Slide counter and figcaption support.
jQuery-Free, lightweight at only 2.78kb gzipped for both dLightbox.js and dLightbox.css
Fully responsive.
