This macro is deprecated and replaced by the new Image Slider Macro
Use the Gallery Slider macro to display an image gallery with thumbnail navigation.
Parameters
Parameter | Default | Description |
---|---|---|
Width | 600 | Width of the slider in pixels. |
Responsive Width | false | Enable to let the slider adapt to the available space. This will override any custom width. |
Height | 400 | Height of the slider in pixels. |
Attachment Labels | None - images of current page will be displayed | Filter images by one or more attachment labels. Leave blank to use images attached to current page. Example: blue,green,-redwill display all images with labels blue or green, excluding those labeled red. |
Spaces | None - if any label is specified, images from all spaces will be displayed | Comma separated list of space keys to restrict searching of images, if any label is specified. Use @self for current space. Leave blank for all spaces. |
Pages | None - if any label is specified, images from all pages will be displayed, otherwise images of current page will be displayed | Comma separated list of pages to restrict searching of images. Use @self for current page. To specify a page in a different space, use the following syntax: SPACEKEY:Page Title |
Sort Order | creationDate | The order the images should be sorted by. Valid values are:
|
Reverse Order | false | Enable for reverse ordering. |
Max Images | None - no limit | Maximum number of images to be displayed. Leave blank for no limit. |
Comment Usage | caption | Choose whether attachment comments should be used as image captions or external links. Valid values are:
|
Show Captions | true | Enable to display attachment comments as image captions in slider. Comment usage has to be set to "caption". |
Toggle Captions | true | Choose whether you want to display image captions permanently or allow users to toggle them. |
Enable Links | false | Enable to link the images to the pages or blogposts where they are attached to. To link to external urls set comment usage to "link" and specify the url in the attachment comment field. |
Open Links in new Window | true | Choose whether to open links in the same or in a new window, if image links are enabled. |
Effect | fade | Choose between multiple transition effects. Valid values are:
|
Auto Slide | true | Enable to automatically slide through images. |
Display Time | 5000 | Time (ms) how long each image will be shown. |
Stop on Interaction | true | Stop playback when user has clicked on thumbnail or navigation, if auto slide is enabled. |
Background Color | black | Background color of the gallery slider. Use hexadecimal notation or HTML color name. |
Show Navigation | true | Choose to show prev/next navigation. |
Show Slide Numbers | true | Enable to show slide numbers. |