This page is a snippet

For full information, see:

Snippet

 

Macro name: gallery

Macro body: None.

Parameter name

Required

Default

Parameter description and accepted values

title
No

(None)

Specify a title to be displayed above your gallery of pictures.

reverse
No

Not specified. Sort order is ascending.

Used in combination with the sort parameter, to change the sort order from ascending to descending.

Available values:

  • true – Sort order is descending.
  • false – Sort order is ascending.
sort
 No

None. The sort order is unspecified and therefore unpredictable.

Specify an attribute to sort the images by. Sort order is ascending, unless you specify the reverse parameter.

Available values:

  • name – file name.
  • comment – comment linked to the attached file.
  • date – date/time last modified.
  • size – size of the attached file.
page
 No

If no page is specified, the gallery macro displays the images attached to the page on which the macro is used.

Specify the title of the page which contains the images you want displayed. You can specify more than one page name, separated by commas. To specify a page in a different space, use the following syntax: SPACEKEY:Page title.
includeLabel NoNone. The images are not filtered by label.The gallery will include only those pictures that have the specified label. If you wish to enter more than one label, separate the labels with commas. Confluence will show only images that have all the labels specified. (The match is an AND, not an OR.) For information on labelling the attachments, see Adding Labels.
excludeLabel No

No exclusions. The gallery will include all the pictures on the page.

The gallery will ignore any pictures that have the specified label. You can specify more than one label, separated by commas. For information on labelling the attachments, see Adding Labels.
columns
No

4

Specify the number of columns for the table that forms the gallery.

exclude

No

No exclusions. Include all the pictures on the page.

Specify images by file name. The gallery will ignore any images specified. You can specify more than one image, separated by commas.
Note: The file name and file type for this parameter are case sensitive. For example, 'my picture.PNG' will not be recognised as 'my picture.png'.

include

No

Include all the pictures on the page.

If you specifically include one or more pictures, the gallery will show only those pictures. You can specify more than one picture, separated by commas.
Note: The file name and file type for this parameter are case-sensitive. For example, 'my picture.PNG' will not be recognised as 'my picture.png'.

  • No labels