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.
|
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. |
並べ替え |
None i.e. the sort order is unspecified and therefore unpredictable. |
Specify an attribute to sort the images by that attribute. Sort order is ascending, unless you specify the 'reverseSort' parameter (see below). Options are:
|
reverseSort |
Nothing, i.e. sort order is ascending |
Used in conjunction with 'sort' parameter above. Use 'reverseSort' to reverse the sort order, from ascending to descending. |
{gallery:columns=3|title=Some office photos, and a waterfall}
|
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}
|
{gallery:title=Some office photos, and a waterfall|sort=name}
|
{gallery:title=Some office photos, and a waterfall|sort=date|reverseSort}
|
|
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.7 User Guide