Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
$125 per month—let's make that $500!Learn more
GalleryItem's tpl Chunk¶
This chunk is used when &toPlaceholders is set to 0 on the GalleryItem snippet.
<a href="[[+url:is=``:then=`[[+image]]`:else=`[[+url]]`]]"> <img src="[[+thumbnail]]" alt="[[+name]]" /> </a>
|name||The name of the Item.|
|filename||The filename of the item. This will be relative to the path where the files are stored, which is usually assets/components/gallery/files/.|
|description||The description of the item.|
|mediatype||The media type of the Item. Currently this is only 'image'.|
|createdon||The timestamp that this Item was created on.|
|createdby||The User ID of the creator of this Item.|
|active||If this Item is active or not. Can be 1 or 0.|
|albums||A list of Albums this Item is in.|
|tags||A list of Tags associated with this Item.|
- Gallery.Setting Up Your Gallery
- Gallery.Setting Up the GalleryItem TV