Confluence 1.4 has reached end of life
Check out the [latest version] of the documentation
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. Clicking on the thumbnail opens up the full-size image in a new window.
You can specify a title for the gallery and also configure how many columns you want for the table in which your images are displayed. Confluence automatically displays the corresponding comment below the image. See adding a comment for an attachment.
Only image formats supported by Confluence are displayed in the gallery. Confluence supports gifs, pngs, jpegs and bmps.
To use the gallery macro, simply include the following code in your page and replace the title with your own.
Gallery Macro
What you need to type |
||
|---|---|---|
{gallery:title=Some office photos, and a waterfall}{gallery} |
||
What you will get |
||
|
The default number of columns for the table is 4.
Optionally,
Specify the number of columns for your table:
{gallery:columns=3|title=Some office photos, and a waterfall}{gallery}
RELATED TOPICS
Displaying an image
Thumbnail macro
Attaching files to a page
Editing attachment details
Working with macros
Take me back to Help Home