[[gallery.albums]]

Available Since: V1.0.0

 Used to draw the albums available within the gallery.

Placeholder Description
albumsCls The CSS class to apply to the default <ul> container, defaults to galleryAlbums.
size The size of image to use in the album, one of t (tiny), s (small), m (medium), l (large), defaults to m.
useGrid If set to `1` then the CSS framework grid is used to layout the album images.
wrapperTpl The chunk to use to wrap the image list. If useGrid is `1` then the chunk gallery.gridWrap is used.
itemTpl The chunk to use to wrap each image in. If useGrid is `1` then the chunk gallery.gridItem is used.
exclude A comma separated list of album Ids to exclude from the list of albums being drawn.
include A comma separated list of album Ids to include from the list of albums being drawn.
depth Optional depth to descend to within nested albums, 0 for unlimited.
album The optional album to start at.

Default wapperTpl Chunk

<ul class="[[+albumsCls]]">[[+images]]</ul>
Parameter Description
albumsCls The CSS class set by the albumsCls parameter.
images The HTML for the images being drawn.

Default itemTpl Default

<li>
	<a href="[[+link]]"><img src="[[+src]]" alt="[[+title]]" /></a>
</li>
Parameter Description
link Address of the album page.
src Address of the image to show for the album.
size Size of the image.
title Title of the album.




TOP