Confluence 2.8 : Gallery Macro
This page last changed on Jun 24, 2008 by smaddox.
The gallery macro creates a gallery of thumbnails from all the images that are attached to a page and displays them in a tabular format. When a user clicks a thumbnail, the full-size image opens in a new window. The user can also view the images as a slideshow by clicking the 'view as slideshow' link located below the title.
Using the gallery macroInclude the following markup in your page. (Replace the title with your own.)
Optional parametersBasic usage, showing two parameters: {gallery:columns=3|title=Some office photos, and a waterfall} Below is the full list of parameters available.
Examples of optional parametersSpecifying the number of columns for your table{gallery:columns=3|title=Some office photos, and a waterfall} Disabling the slide show optionBy default, Confluence displays the link to view the images as a slideshow. To disable this link, include the following code within the macro: {gallery:slideshow=false|title=Some office photos, and a waterfall}
Sorting the images by file name{gallery:title=Some office photos, and a waterfall|sort=name} Sorting the images to show most-recently-modified first{gallery:title=Some office photos, and a waterfall|sort=date|reverseSort}
RELATED TOPICSDisplaying an Image Take me back to Confluence User Guide ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() |
Document generated by Confluence on Jun 24, 2008 18:05 |