[WordPress] 外掛分享: imageLightbox

首頁外掛目錄 › imageLightbox
300+
安裝啟用
★★★★★
5/5 分(2 則評價)
3449 天前
最後更新
問題解決
WordPress 3.8+ v0.1.1 上架:2014-05-19

內容簡介

這是使用 WordPress 製作的圖片燈箱效果外掛,其基礎程式為 MIT 授權的 imageLightbox.js,原作者為 Osvaldas Valutis (http://osvaldas.info/image-lightbox-responsive-touch-friendly)

以下是原作者對於燈箱的介紹:
「對於圖片燈箱效果,我總是覺得它們缺乏簡潔性。我的意思不僅僅是視覺設計,也包括經驗的整體性:從實施到使用者體驗。我尊重它們,但我從來沒有喜歡過這些炫麗的燈箱效果。它們解決了一些根本不存在的問題:默認有很多不需要的功能,標籤結構混亂,而且沒有原生的觸控螢幕行為。有一次我在項目中需要一個解決這些問題的圖片燈箱效果,我只需要一個圖片的燈箱效果,不要視訊、文本和 iframes 同時顯示。於是我製作了 ImageLightbox.js」

此版本會自動偵測所有指向圖片檔案的連結,並在燈箱中開啟它們。

為了您的方便,此外掛附帶了一個簡潔的 CSS,可輕鬆停用和/或替換。

您也可以按照喜好進行自訂樣式設計,這裡提供了一個示範主題:https://github.com/bjornjohansen/imagelightbox-theme-smooth

如果有任何問題,請告知。獲得最快回應的方法是通過 Twitter:https://twitter.com/bjornjohansen

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.1.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「imageLightbox」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This is a WordPressified version of the excellent, lightweight (for real!) imageLightbox.js (MIT-licensed) by Osvaldas Valutis (http://osvaldas.info/image-lightbox-responsive-touch-friendly)
This is his introduction to the lightbox:
“As for the image lightboxes, I have always lacked simplicity for them. I mean not only the visual design, but the overall experience: from implementation to UX. All due respect, but I have never liked any of these light-fancy-face-boxes. They all were solving problems that just don’t exist: lots of unwanted features by default, total mess in markup, no native behavior for touch screens. I was working on a project and needed an image lightbox that solves these problems. I needed a lightbox only for images, not video, text, and iframes at once. I made ImageLightbox.js.”
This version autodetects all links to image files and opens them in the lightbox.
For your “install, activate and go”-convenience, this plugin comes with a minimal CSS that easily can be deactivated and/or replaced.
The plugin can also be themed to your liking. An example theme is available here: https://github.com/bjornjohansen/imagelightbox-theme-smooth
Please let me know if you have any issues. Fastest way to get a response is by Twitter: https://twitter.com/bjornjohansen

延伸相關外掛

文章
Filter
Apply Filters
Mastodon