Confluence Bridge for Gallery
Modifié par Admin le 16/10/2025 - 23:33
Description
This is a Confluence bridge for the Gallery macro. It uses the XWiki Gallery macro.
Only a subset of the parameters supported by the Confluence macro are supported by this bridge macro: title, exclude, include and page. The remaining parameters are ignored:
- columns does not make sense for the XWiki macro as the images are displayed differently
- excludeLabel and includeLabel are not supported since XWiki does not support attachment tags
- sort and reverse have not been implemented in this bridge macro
Parameters
| Parameter | Description | Required | Default |
|---|---|---|---|
| title | Title of the gallery. | No | |
| exclude | Excluded images (comma separated). | No | |
| include | Included images (comma separated). | No | |
| page | Pages containing the images to display. Current page if empty. | No |
Examples of usage
All images of current page
{{confluence_gallery/}}
The result is the following :



Exclude one image
{{confluence_gallery exclude="img1.png"/}}
The result is the following :


Include two images
{{confluence_gallery include="img1.png,img3.png"/}}
The result is the following :


All images of the Sandbox page
{{confluence_gallery page="Sandbox" title="Sandbox images"/}}
The result is the following :
Sandbox images
