Documentation


Galleries

The galleries tag displays images from a gallery.

Tags

{pyro:galleries:images}


Display all images from any one gallery.

Attributes

Name Default Required Description
slug None Yes The gallery to display images from.
limit All No Limit the number of displayed images.
offset 0 No Offset the images when retrieving them with a limit set.

Example

{pyro:galleries:images slug="test-gallery" limit="5"}
	<h2>{title}</h2>
	<a href="http://yoursite.com/galleries/{gallery_slug}/{file_id}">
		<img src="http://yoursite.com/files/thumb/{file_id}/100/75" alt="{name}"/>
		100/75 is desired thumbnail width/height respectively
	</a>
	<p>{description}</p>
{/pyro:galleries:images}

{pyro:galleries:exists}

Check to see if a gallery exists.

Attributes

Name Default Required Description
slug None Yes The gallery to check for.