Gallery
What you can insert into a template from the “Gallery” module: blocks and lists with parameters and examples.
Gallery albums (list) — gallery.albums
A list of fresh albums for your own markup: title, address and cover. Kind: list for your own markup; works on any page.
| Parameter | Meaning | Default |
|---|---|---|
limit | How many to show. From 1 to 20. | 6 |
Inside the list: {item.title} {item.url} {item.cover}.
Example:
[each:list:gallery_albums:limit:6]
<a href="{item.url}"><img src="{item.cover}" alt="{item.title}"></a>
[/each]From the gallery — gallery.home
From the gallery on the home page: a grid of fresh photos, each leading to its album. Kind: block; works on any page.
Example:
{block:gallery.home}Updated 16.10.2026
No one has commented yet. Be the first.