This page last changed on Jun 24, 2008 by smaddox.

Gallery Macro

Basic usage, showing two parameters:

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

Below is the full list of parameters available.

Parameter Optional or Mandatory Default Description
title Optional Nothing Specify a title for your gallery.
columns Optional 4 Specify the number of columns for your table.
slideshow Optional true Set to 'false' to hide the 'view as slide show' link.
sort Optional 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 Optional 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.

Troubleshooting

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

Document generated by Confluence on Jun 24, 2008 18:01