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

Li'l Gallery

外掛說明

Big main picture of a gallery and thumbnails of others, and the main image changes when one clicks thumbnails. Replaces the standard wordpress [gallery] shortcode output. No flash. Available options: width, heigth, thumbnail height, size, link to image file or not.

螢幕擷圖

  • A sample how li'l gallery looks.

安裝方式

  • Upload lil-gallery.zip from Plugins/Add New/Upload and activate the plugin.
  • Set desirable default options of the plugin at the Li’l Gallery options page.

常見問題集

How can I change some gallery look?

Here is a gallery shortcode sample with the full set of parameters:
[gallery id=”10″ width=”500″ height=”400″ link=”file” size=”medium” thumbnail_height=”80″ order=”ASC” orderby=”ID” exclude=”11,12″ featured=”exclude”]

Parameters description:

  • id: integer, the ID of a post the images attached to. Default: current post ID.
  • width: width in pixels (px) of the DIV block that contains the gallery, overflow hidden. Empty by default, then the gallery takes 100% of available width.
  • height: height in pixels of the DIV block that contains first image of a gallery. Empty by default. If your gallery includes both portrait and landscape images or different width/height rate the page height may change when you click thumbnails, and you can avoid this inconvenience by setting this parameter for the specific gallery instance.
  • link: ‘file’ or ‘none’, default ‘file’ – is the main image clickable or not.
  • size: ‘medium’, ‘large’ or ‘file’ – the size of a main image, default ‘medium’.
  • thumbnail_height: to make thumbnails row looks pretty (it is not real size of your thumbnails), default 60 (pixels).
  • order, orderby, exclude – the same as in standard wordpress gallery.
  • featured: ‘include’ (default) or ‘exclude’ – is the featured image of a post displayed in a gallery or not.

使用者評論

閱讀全部 1 則使用者評論

參與者及開發者

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

參與者

將〈Li'l Gallery〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

0.6

  • New parameter/option: featured image exclusion.

0.5

  • Fixed bug in links from main image.

0.4

  • Correction of handling link and thumbnail_height parameters, small changes in css.

0.3

  • Now the plugin can use [gallery] or [lil_gallery] shortcode, of your choice.

0.2

  • First public version.