This page last changed on Jun 18, 2007 by rosie@atlassian.com.

You need to edit in 'Wiki Markup' mode to include macros in your page.

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 also view the images as a slideshow by clicking the 'View as Slideshow' link located below the title.

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 and jpegs. The bmp format is not supported.

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}{gallery}
What you will get

Some office photos, and a waterfall
There are no images attached to this page


The default number of columns for the table is 4.


Optional Parameter

No  parameter Default Description
 1 columns 4 Specify the number of columns for your table
 2 slideshow true Disable slide show option

Specify the number of columns for your table

{gallery:columns=3|title=Some office photos, and a waterfall}{gallery}

Disable slide show option

By 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}
RELATED TOPICS

Displaying an Image
Thumbnail Macro
Attaching Files to a Page
Editing Attachment Details
Working with Macros

Take me back to [Confluence 2 User Guide]


harbour2.jpg (image/jpeg)
harbour3.jpg (image/jpeg)
office10.jpg (image/jpeg)
office11.jpg (image/jpeg)
office3.jpg (image/jpeg)
office1.jpg (image/jpeg)
office2.jpg (image/jpeg)
waterfall.jpg (image/jpeg)
Document generated by Confluence on Oct 10, 2007 18:37