
內容簡介
ImageViewer 是一款受 Google 相簿啟發的圖片檢視器。
對於 Ebay.com 或 Tweakers.net 的使用者來說,這也可能會很熟悉。
它提供了一個與輕箱、彩色框或者花哨框類似的模態窗口,只是有些抽象。
功能
平滑拖動和平移圖像。
支援觸控裝置。
雙擊快速放大/縮小。
掌握縮放的捏和拉動手勢。
捕捉視圖,使平移和縮放體驗更容易。
可控制縮放 API,讓您程式化控制縮放。
反特色
簡潔的使用者界面,沒有多餘的東西。
輕量的代碼(沒有 PHP,2 JS 文件和 1 CSS 文件)。
沒有設置頁面(真的沒有)。
沒有資料庫查詢。
上游項目
您可以看看 GitHub 上的原始代碼。
此項目已經整合到 WordPress 外掛中,可以直接使用。
兼容性
此外掛兼容於 ClassicPress 。
貢獻
此外掛也可於 Codeberg 取得。
外掛標籤
開發者團隊
原文外掛簡介
ImageViewer is an image viewer inspired by Google Photo’s.
It may also look familiar to users of Ebay.com or Tweakers.net.
It provides a modal for images, similar to modals as lightbox, colorbox and fancybox, just in a somewhat more abstract way.
Features
Smooth dragging and panning images.
Support touch devices.
Double tap to zoom in/zoom out.
Pinch in / pinch out to zoom in/out.
Snap view for easier panning and zooming experience.
Exposed API to control zoom programmatically.
Anti-Features
Clean user interface, no bells, no whistles, no horns.
Lightweight code (no PHP, 2 JS files and 1 CSS file).
No settings page (really).
No database queries.
Upstream Project
You can look at Github for the original code.
This project is integrated in this WordPress plugin and all ready to use.
Compatibility
This plugin is compatible with ClassicPress.
Contributions
This plugin is also available in Codeberg.
