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.
Confluence only creates thumbnails of images in these file formats:gifs, pngs, jpegs and bmps.
To use the gallery macro, simply include the following markup 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} |
||||||||||||||||||||
What you will get |
||||||||||||||||||||
|
The default number of columns for the table is 4.
Optional Parameter
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
1 Comment
byunggeon kim
Aug 10, 2007hi~
i wish control size preview image
how to control??