[WordPress] 外掛分享: Sabines Zoom Gallery

首頁外掛目錄 › Sabines Zoom Gallery
10+
安裝啟用
尚無評分
4064 天前
最後更新
問題解決
WordPress 3.5.0+ v0.3.1 上架:2013-04-20

內容簡介

這個外掛可在你的畫廊圖片中加入漂亮的內部縮放功能,僅顯示圖片,不提供可點擊的縮略圖,並可在游標移過時自動顯示內部縮放效果。縮放效果取決於你上傳的圖片解析度,原始圖片越大,縮放效果越好。

有兩個組態選項可供加入短代碼:
1. 使用參數「showsize」和所需的大小 (縮略圖、中等或大型): [sabineszoom showsize=medium]
2. 使用參數「thickbox」和值 1: [sabineszoom thickbox=1]
或兩種皆用: [sabineszoom showsize=medium thickbox=1]

如果你想使用此畫廊,只需在文章或頁面使用 [sabineszoom] 短代碼,或在迴圈内添加 <?php echo do_shortcode('[sabineszoom]'); ?> 到你的版面樣板。
預設使用「大型」圖片,如果你想使用「中等」或「縮略圖」顯示,加上「showsize」參數即可,例如:[sabineszoom showsize=medium]。有效的選項有 thumbnail、medium、large。

這是我開發的第一個外掛,原本是為了一位客戶而製,因為找不到一個完全符合需求的畫廊外掛:
不提供縮略圖畫廊,這只是列出附加到文章或頁面的圖片列表,並提供了內部圖片縮放功能。

我使用 jQuery 插件 Image Zoom by elevate zoom 來實現內部縮放效果(請參閱 http://www.elevateweb.co.uk/image-zoom/examples#inner-zoom)。

如果需要幫助或有功能要求,請告知我。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Have a nice inner zoom on your gallery images. It shows only the images, no clickable thumbs, and shows an inner zoom onmouseover. The zoom effect depends heavily on the resolution of the image you have uploaded; a bigger original gives a better zoom effect.
There are two configuration options to add to the shortcode:
1. the parameter ‘showsize’ and the desired size (thumbnail, medium or large): [sabineszoom showsize=medium]
2. the parameter ‘thickbox’ with the value 1: [sabineszoom thickbox=1]
or both: [sabineszoom showsize=medium thickbox=1]
If you want to use this gallery, simply use the [sabineszoom] shortcode in your post or page, or add within the loop, to your template.
By default the ‘large’ image is used, if you want the ‘medium’ or ‘thumbnail’ to show, add the parameter ‘showsize’ like so: [sabineszoom showsize=medium]. Valid options are thumbnail, medium and large.
This is my first plugin, originally build for a customer who couldn’t find a gallery plugin that fitted his needs exactly:
no gallery of thumbnails that should be clicked on, this is just a list of the images attached to a post or page that have an inner zoom to the full image.
I used the jQuery plugin Image Zoom by elevate zoom for the inner zoom effect (see http://www.elevateweb.co.uk/image-zoom/examples#inner-zoom) .
Please let me know if you need help or have a feature request.

延伸相關外掛

文章
Filter
Mastodon