內容簡介
注意:此外掛可與 BP Gallery RC2 和 RC3 一起使用。
我需要一個側邊欄解決方案,以顯示 bp-gallery 相冊的鏈接,所以我寫了這個小工具。此小工具會從照片類型的相冊中進行選擇。該小工具讓您指定以下參數:
最大相冊數:要顯示的相冊數。
相冊排序:隨機、最早或最新。
縮略圖:選擇封面、第一張或隨機圖像,以確定側邊欄中使用的縮略圖像。封面圖像在 bp-gallery 中指定。
縮略圖寬度/高度:HTML 屬性寬度和高度。
縮略圖內邊距:用於每個縮略圖的 padding-right 和 padding-bottom。
致謝
向 Brajesh Singh 致敬,因為他創建了 bp-gallery 外掛。
向 Mathias Geat 的 nextgen-gallery-sidebar 小工具代碼致敬,這對我撰寫此外掛時提供了很大幫助。
外掛標籤
開發者團隊
原文外掛簡介
NOTE: This plugin works with BP Gallery RC2 and RC3.
I needed a sidebar solution to show links to bp-gallery galleries, so I wrote this widget. This widget selects from galleries of
type “photo”. The widget lets you specify the following parameters
Maximum Galleries: the number of galleries to show.
Gallery Order: choose from Random, Earliest, and Latest
Thumbnail: choose cover, first, or random image to determine which image is used for a thumbail in the sidebar. Cover image is specified in bp-gallery.
Thumbnail width/height: the HTML attributes width & height.
Thumbnail padding: used for padding-right and padding-bottom for each thumbnail
Kudos
Shout out to Brajesh Singh for creating the bp-gallery plugin
Shout out to Mathias Geat, whose nextgen-gallery-sidebar widget code was a big help while I was writing this plugin.
