You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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.

  • No labels