Confluence 2.6 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
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. 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.
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. The default number of columns in the table is 4.
- The images shown are taken from the files attached to the Confluence page.
- The comments below the images are drawn from the comments on the attachments.
- The gallery will include all the images attached to the page.
- Only the following file formats are supported: gif, png, jpeg. The bmp format is not supported.
Using the gallery macro
Include the following markup in your page. (Replace the title with your own.)
必要な入力項目 |
||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{gallery:title=Some office photos, and a waterfall} |
||||||||||||||||||||
表示結果 |
||||||||||||||||||||
|
オプション パラメーター
パラメーター |
既定 |
説明 |
---|---|---|
title |
なし |
ギャラリーのタイトルを指定します。 |
列 |
4 |
表の列数を指定します。 |
slideshow |
true |
Set to 'false' to hide the 'view as slide show' link. |
Examples of optional parameters
Specifying the number of columns for your table
{gallery:columns=3|title=Some office photos, and a waterfall}
Disabling the 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|title=Some office photos, and a waterfall}
For a dynamic slideshow, you might like to try the Slideshow Plugin.
関連トピック
Displaying an Image
Thumbnail Macro
Attaching Files to a Page
Editing Attachment Details
Working with Macros
Take me back to Confluence 2.6 User Guide