Page
Gallery
Šis skyrius kol kas tik anglų kalba.
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} {item.new}.
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}Gallery photos — gallery.photos
A list of photos for your own markup: the latest added or random ones, from all published albums or from one. Every photo links to its album. Kind: list for your own markup; works on any page.
| Parameter | Meaning | Default |
|---|---|---|
limit | How many to show. From 1 to 24. | 6 |
album | Album slug (what follows /gallery/); empty — photos of all published albums. | |
sort | Order: new — latest added, random — random ones (from the latest three hundred). Values: new, random. | new |
Inside the list: {item.title} {item.url} {item.image} {item.thumb} {item.album}.
Example:
[each:list:gallery_photos:limit:6:sort:random]
<a href="{item.url}"><img src="{item.thumb}" alt="{item.title}"></a>
[/each]In this section
- Banners
- Site chat
- Classifieds
- Cookies and consent
- Comments
- Community
- Contacts
- Bookmarks
- Contact form
- Custom sections
- Downloads
- Forms
- Events
- Code highlighting
- News
- Forum
- Gallery
- Pages
- Polls
- Private messages
- Share buttons
- Video player
- Shop
- Reputation and awards
- Reviews
- Read also
- users
- Welcome block
- Newsletter
- Tags
- Traffic
- Questions and answers
- Bookings
Updated 17.11.2026
Subscribe to the news
Only after email confirmation