The full list of parameters is shown in the following table.
Parameter
Default
Description
Gallery Title
Nothing
Specify a title for your gallery.
Number of Columns
4
Specify the number of columns for your table.
Images to Exclude
No exclusions i.e. include all the pictures on the page.
The gallery will ignore any pictures specified. You can specify more than one picture, separated by commas. Please note, the filename and filetype for this parameter are case-sensitive, i.e. 'my picture.PNG' will not be recognised as 'my picture.png'.
Include these Images Only
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. Please note, the filename and filetype for this parameter are case-sensitive, i.e. 'my picture.PNG' will not be recognised as 'my picture.png'.
Use Images in these Pages
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. To specify a page in a different space, use the SPACEKEY:Page Title syntax.
Sort Images By
None, i.e. the sort order is unspecified and therefore unpredictable.
Specify an attribute to sort the images by. Sort order is ascending, unless you select the Reverse Sort parameter (see below). Options are:
name – file name.
comment – comment linked to the attached file.
date – date/time last modified.
size – size of the attached file.
Reverse Sort
Off, i.e. sort order is ascending
Used in conjunction with the Sort Images By parameter above. Use Reverse Sort to reverse the sort order, from ascending to descending.
If the name of an attached file or page contains a comma, you can refer to it in the relevant parameters above by enclosing it in single or double quotes, for example "this,that.jpg", theother.png.
The information on this page does not apply to Confluence OnDemand.
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:
If you are encountering problems resulting in a parse error "(...) Encountered "=" at line 64, column 37 of /templates/gallery-dynamic-slideshow.vm (...)", here is a quick summary of the fix outlined in CONF-11528:
Look in your Plugin Repository for the outdated "Gallery" plugin (from Atlassian). Disable or uninstall.
Find "Confluence Advanced Macros" (also fram Atlassian). Disable and enable again.
This should fix a conflict with an outdated version, also using the {gallery} syntax.
1 Comment
Hide/Show CommentsAug 27, 2010
Thorarinn 'Toro' Stefansson
If you are encountering problems resulting in a parse error "(...) Encountered "=" at line 64, column 37 of /templates/gallery-dynamic-slideshow.vm (...)", here is a quick summary of the fix outlined in CONF-11528:
This should fix a conflict with an outdated version, also using the {gallery} syntax.
Add Comment