Gallery.GalleryAlbums


GalleryAlbums Snippet

This snippet displays a list of Albums. It by default only grabs "prominent" albums.

Properties

Name Description Default Value
rowTpl The Chunk to use for each album row. galAlbumRowTpl
sort The field to sort the results by. createdon
dir The direction to sort the results by. DESC
limit If set to non-zero, will limit the number of results returned. 10
start The index to start from in the results. 0
toPlaceholder If not empty, will set the output to a placeholder with this value.  
showInactive If true, will show inactive galleries as well. false
prominentOnly If true, will only display albums marked with a "prominent" status. true

Examples

Grab a list first 10 active, prominent albums.

[[!GalleryAlbums]]

Grab 10 alphanumerically sorted prominent albums:

[[!GalleryAlbums? &sort=`name` &dir=`ASC`]]

Grab most recent 3 Albums, whether prominent or not:

[[!GalleryAlbums? &limit=`3` &prominentOnly=`0`]]

[[+gallery]]

See Also


Browse Space

- Pages
- News
- Labels
- Attachments
- Bookmarks
- Mail
- Advanced

Explore Confluence

- Popular Labels
- Notation Guide

Your Account

Log In

Other Features

Add Content