Confluence Bridge for Gallery

Zuletzt geändert von xwikiadmin am 2025/01/07 12:38

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

ParameterDescriptionRequiredDefault
titleTitle of the gallery.No 
excludeExcluded images (comma separated).No 
includeIncluded images (comma separated).No 
pagePages 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