N1 Nex1on

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.

A list of fresh albums for your own markup: title, address and cover. Kind: list for your own markup; works on any page.

ParameterMeaningDefault
limitHow many to show. From 1 to 20.6

Inside the list: {item.title} {item.url} {item.cover} {item.new}.

Example:

Code
[each:list:gallery_albums:limit:6]
  <a href="{item.url}"><img src="{item.cover}" alt="{item.title}"></a>
[/each]

From the gallery on the home page: a grid of fresh photos, each leading to its album. Kind: block; works on any page.

Example:

Code
{block:gallery.home}

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.

ParameterMeaningDefault
limitHow many to show. From 1 to 24.6
albumAlbum slug (what follows /gallery/); empty — photos of all published albums.
sortOrder: 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:

Code
[each:list:gallery_photos:limit:6:sort:random]
  <a href="{item.url}"><img src="{item.thumb}" alt="{item.title}"></a>
[/each]

Updated 17.11.2026

Share: Telegram WhatsApp