這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Gallery Just Better

外掛說明

It’s a tiny bit more flexible than wp native gallery. It finally allows non-linked images and images linking to external URLs. It also allows linked images/pages opening in a new page.

Usage

As it is a shortcode:

^ From the admin wp page->Posts/Pages->Add New or Edit, select HTML in the entry form and enter [galleryjb]
^ Attach one or more images to the post or define a PostID attribute which has attachements i.e. [galleryjb postid=123]
^ There are no mandatory attributes: it will show the attached images as a gallery if attachments are present in the current post or in postid, if postid as attribute is defined.
^ Optional attributes are all those you can see in wp 3.0.4 or 3.1 of native gallery plus:
^^ link: besides “file” (= images are linked to imagefile) and the default null string (= images are linked to the attachment’s permalink) already present in wp gallery, there is now “null” (images are not clickable/linkable) and “url” (images are linked to external URLs defined in Description).
Please note that if you choose link=”url”, the Description textbox in Media library needs to contain a url (http(s)..etc) and not a textual description. On the other hand, Description is not used by wp native [ gallery ] in any case.
^^ target: boolean. if true linked objects open in a new/the same window, if false (default) in the same window
^^ author: true (default) or false whether you allow this plugin’s author footer to be displayed or not (please, say yes).

Examples

[galleryjb link=”null”] ==> Images are not clickable
[galleryjb target=”true”] ==> Images link to the attachment’s permalink and open up in a new page
[galleryjb link=”url”target=”true”] ==> Images link to external URL defined in the Description textbox (in Media library). These URLs will open up in a new page.
[galleryjb link=”url”] ==> Images link to external urls defined in the Description textbox (in Media library). They will open up in the same page (as default)

安裝方式

  1. From Plugins of your wordpress administration, select “Add new”, search for “gallery just better” into the search text-box then click on ‘Install Now’ (below the plugin name) when prompted OR download this plugin from wordpress repository or from Stef’s blog, unzip it (a directory with 2 files will be extracted) and upload it to the ‘/wp-content/plugins/’ directory of your wordpress

  2. Activate the plugin from the Plugins menu in your WordPress administration

  3. Use it! (see Usage in Other Notes)

常見問題集

Why would I need/want it?
it can either be a replacement to wp native gallery if you need the added features described above or a simple no frills/no nonsenses gallery. More, much more to come.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Gallery Just Better〉的開發相關工作。

參與者

將〈Gallery Just Better〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.2

  • Second release. Based on wp 3.1 native wp gallery

0.1

  • First release. Based on wp 3.0.4 native wp gallery