ギャラリー マクロ

Basic usage, showing two parameters:

{gallery:columns=3|title=Some office photos, and a waterfall}

Below is the full list of parameters available.

パラメーター

Optional or Mandatory

既定

説明

title

任意

なし

ギャラリーのタイトルを指定します。

任意

4

表の列数を指定します。

slideshow

任意

true

Set to 'false' to hide the 'view as slide show' link.

並べ替え

任意

None i.e. the sort order is unspecified and therefore unpredictable.

Specify an attribute to sort the images by that attribute. Sort order is ascending, unless you specify the 'reverseSort' parameter (see below). Options are:

  • 'name' – file name.
  • 'comment' – comment linked to the attached file.
  • 'date' – date/time last modified.

reverseSort

任意

Nothing, i.e. sort order is ascending

Used in conjunction with 'sort' parameter above. Use 'reverseSort' to reverse the sort order, from ascending to descending.

For more information, refer to Gallery Macro.

トラブルシューティング

If you encounter the following error message: System does not support thumbnails: no JDK image support then ensure that you have following system property available for your JVM:

JAVA_OPTS=-Djava.awt.headless=true

Also see CONF-1737

Please note that gallery-ext.jar is available at CONF-6620

  • ラベルなし