[WordPress] 外掛分享: Folder Gallery

首頁外掛目錄 › Folder Gallery
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
1,000+
安裝啟用
★★★★
4.5/5 分(24 則評價)
3043 天前
最後更新
問題解決
WordPress 4.0+ v1.7.4 上架:2013-01-04

內容簡介

此外掛可以從資料夾建立圖片畫廊。
必須透過 FTP 上傳圖片資料夾到伺服器上的某處(例如 wp-content/upload)。它必須是可寫的(chmod 777)。

Folder Gallery Plugin 不再包含任何 Lightbox JS 引擎。您必須安裝一個或使用兼容的 Lightbox 外掛程式。請參閱常見問題解答。

要在文章或頁面中包含畫廊,必須使用以下 shortcode:

[foldergallery folder="local_path_to_folder" title="Gallery title"]

當首次存取頁面時,對於每個畫廊,在圖片資料夾內會建立子資料夾 cache_[width]x[height]。

選項頁面可設置畫廊的預設參數:

Lightbox JS Engine:Lightbox 2(如果已安裝),Fancybox 2(如果已安裝),Fancybox 3(如果已安裝),Lightview 3(如果已安裝),Easy Fancybox Plugin(如果可用),Responsive Lightbox Plugin(如果可用)或無(預設)
顯示縮略圖(thumbnails):all = 標準畫廊,single = 顯示與 Lightbox 畫廊相關聯的單個縮略圖,none = 顯示指向 Lightbox 畫廊的連結
按什麼方式排序圖片(sort):按文件名(filename)或按相反順序(filename_desc)或按修改日期(date 或 date_desc)或隨機排序
每行顯示的圖片數(columns)
縮略圖的寬度和高度(width 和 height)
圖片邊框(border)
填充和邊緣(padding 和 margin)
標題格式(caption):默認(標題+圖片號碼)、文件名、不帶副檔名的文件名、智能文件名(刪除底線和前綴數字的文件名)、修改日期、修改日期和時間、修改日期 R(RFC 2822)和修改日期 C(ISO 8601)或無
顯示縮略圖標題(show_thumbnail_captions):是(true)或否(false)。顯示或不顯示圖片縮略圖下面的標題。
Fancybox 2 標題樣式:內部、外部、上方、浮動、無。僅適用於 Fancybox 2 引擎(如果已安裝)。
Fancybox 2 過渡效果:彈性、淡入淡出。僅適用於 Fancybox 2 引擎(如果已安裝)。
Fancybox 2 自動播放速度:幻燈片顯示速度(以秒為單位)。如果為 0 則關閉自動播放。僅適用於 Fancybox 2 引擎(如果已安裝)。
Fancybox 3 選項:循環、工具列、信息欄、箭頭、全屏、幻燈片、幻燈片速度。僅適用於 Fancybox 3 引擎(如果已安裝)。
其他設置 – 權限:在緩存資料夾上強制使用 777 權限。除非您真正知道自己在做什麼,否則不要勾選!
其他設置 – 方向:按 EXIF 標籤校正圖片方向。旋轉的圖片將被覆蓋。(需要 PHP 中的 EXIF 库。)刪除緩存資料夾以套用於現有畫廊。

使用對應的 shortcode 可覆蓋大部分這些設置:

[foldergallery folder="path" title="title" columns=1 width=150
height=90 border=1 padding=2 margin=10 thumbnails=single]

範例,可在 http://jalby.org/wordpress/ 查看聯繫方式。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.7.4) 或搜尋安裝

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

原文外掛簡介

This plugin creates picture galleries from a folder.
The pictures folder must be uploaded (using FTP) somewhere on the server (e.g. wp-content/upload). It must be writable (chmod 777).
Folder Gallery Plugin does not include any lightbox JS engine anymore. You have to install one or use a compatible lightbox plugin. See FAQ.
To include a gallery in a post or a page, you have to use the following shortcode :
[foldergallery folder="local_path_to_folder" title="Gallery title"]

For each gallery, a subfolder cache_[width]x[height] is created inside the pictures folder when the page is accessed for the first time.
An Options page allow to set the default paramaters of the galleries :

Lightbox JS Engine: Lightbox 2 (if installed), Fancybox 2 (if installed), Fancybox 3 (if installed), Lightview 3 (if installed), Easy Fancybox Plugin (if available), Responsive Lightbox Plugin (if available) or none (default)
Display Thumbnails (thumbnails): all = standard Gallery, single = displays a single thumbnail linked to the lightbox gallery, none = displays a link to the lightbox gallery
Sort pictures by (sort) : pictures are sorted by filename (filename) or in reverse order (filename_desc) or by modification date (date or date_desc) or randomly (random)
Number of images per row (columns)
Thumbnails width and height (width & height)
Picture border (border)
Padding and Margin (padding & margin)
Caption Format (caption): default (title + picture number), filename, filenamewithoutextension, smartfilename (filename with underscores and front numbers removed), modificationdate, modificationdateandtime, modificationdater (RFC 2822), modificationdatec (ISO 8601), none
Show Thumbnail Captions (show_thumbnail_captions): yes (true) or no (false). Display (or not) the caption under the picture thumbnail.
Fancybox 2 Caption Style: Inside, Outside, Over, Float, None. Available with Fancybox 2 engine only (if installed).
Fancybox 2 Transition: Elastic, Fade. Available with Fancybox 2 engine only (if installed).
Fancybox 2 Autoplay Speed: Slideshow speed in seconds. 0 to turn autoplay off. Available with Fancybox 2 engine only (if installed).
Fancybox 3 Options : Loop, Toolbar, Infobar, Arrows, Fullscreen, Slideshow, Slideshow speed. Available with Fancybox 3 engine only (if installed).
Misc settings – Permissions: force 777 permissions on cache folder. Leave it uncheck unless you really know what you do!
Misc settings – Orientation: Correct picture orientation according to EXIF tag. Rotated pictures will be overwritten. (Require EXIF library in PHP.) Delete the cache folder to apply to existing galleries.

Most of theses settings can be overridden using the corresponding shortcode :
[foldergallery folder="path" title="title" columns=1 width=150
height=90 border=1 padding=2 margin=10 thumbnails=single]

Sample, contact available at http://jalby.org/wordpress/

延伸相關外掛

文章
Filter
Apply Filters
Mastodon