This article provides you with information on the following topics:
Table of Contents |
---|
Features
Display optional thumbnails with a single click.
...
...
Use the native Confluence comments to display captions for each image:
...
Use the Image Slider macro on a page to display selected image attachments from any space or page in a nice-looking image slider.
Use attachment comments as image captions to display more information in the image slider. You can even link the images to the pages or they are attached. There are also multiple transition effects you can choose from and lots of configuration options like image fitting, responsive or static width and height, gallery mode with thumbnails, different navigation types, etc. to adjust the image slider to your needs.
Parameters
Configuration flexibility lets users decide the rate of transitions, the footprint on the page, and more:
Parameter | Default | Description |
---|---|---|
Width | None - the size of the first image will be used | Width of the slider in pixels or percents. Leave blank to let the slider automatically choose the best size. e.g. 100%, 500px |
Height | None - the size of the first image will be used | Height of the slider in pixels. Leave blank to let the slider automatically choose the best size. |
Image Fitting | Stretch | Choose whether images should be stretched to fit or scaled from the centre and cropped to fit. Values are:
|
Sort Images By | Creation Date | The order of images should be sorted by. Values are:
Note: By default, sort is applied in ascending order. If you wish to change the order to descending choose the Reverse Order check box. |
Reverse Order | Not Selected | Choose to sort images in descending order. |
Filter Images By Date Range | Not Selected | Choose to filter the images based on a specific date range. Select the check box, and a calendar is displayed. Choose the start and end dates from the calendar to apply the filter. |
Use attachment comments as | Caption | Choose whether attachment comments should be used as image captions or external links. Values are:
|
Slider Effect | Fade | Choose between multiple transition effects. Valid values are:
|
Auto Slide Display Time | 3000 | Time (ms) how long each image will be shown. 0 value turns the auto slider off. |
Link Images | Not Selected | Choose to link images to either the pages they are attached to or URLs specified in the Attachment Comments. Use Attachment comments as must be set to Link or Caption and Link to link theĀ URLs specified in attachment comments. |
Show Navigation | Selected | Choose to show the prev/next navigation. |
Show Thumbnails | Not Selected | Choose to show thumbnails of the images at the bottom of the slider. |
Show Bullets | Selected (if thumbnails are disabled) | When thumbnails are disabled, choose to show bullets at the bottom of the slider. |
Creating Image Slider Macro
Go to the page where you want to slide the images and click edit.
Click the + icon. Search for the Image Slider macro.
(or) you can type { lmage, the list with image macro suggestions is displayed, select the Image Slider macro.Select Image Slider macro. The Image Slider macro is displayed.
Click the macro body and select Edit. The Image Slider macro is displayed.
Click the Select Images Locations button. The Select Individual Images window is displayed.
Choose the Space and Page name from where you want to pull images from.
(Optional) To pull images based on the labels specify Attachment Labels.
(Optional) You also select images by location. To select images by location perform the following:
Go to Select Image Location tab.
Choose the Space and Page name from where you want to pull images from.
(Optional) To pull images based on the labels specify Attachment Labels.
Click Add Location. The images are loaded.
Click Get Images. The images are loaded.
Select the images that you want to use in the image slider.
Click View Selected. The images selected are displayed.
Click Close.
Customize the way the image slider you want to view the slider. For more information, see Parameters.
Click Apply.
Publish the page. The Image slider is rendered on to your page.