Confluence 1.4 has reached end of life
Check out the [latest version] of the documentation
Confluence's 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 for each attachment below the image. A comment is a short descriptive text for the attachment. Click here to learn more about 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.
The code:
{gallery:title=Some office photos, and a waterfall}
produces this:
Some office photos, and a waterfall |
|---|
| There are no images attached to this page. |
The default number of columns for the table is 4. Use the following code to specify the number of columns for your table:
{gallery:columns=3\|title=Example Title}{gallery}
RELATED TOPICS
Displaying an image
Thumbnail Macro
Attaching files to a page
Editing attachment details