Gallery Item

Gallery Item

{{ gallery_item }}

Properties of {{ gallery_item }} objects
Name Type Description
object_type String Will always be datastore_item
is_valid Boolean True if this references a published gallery_item
guid String The unique identifier for this gallery_item
value String Contains the same value as guid
gallery_guid String The unique identifier of the related gallery
gallery gallery Reference to the related gallery object
order Integer Display order of this item relative to its siblings
image_guid String The unique identifier of the related image
image image Reference to the related image object
href url Destination URL to navigate to when clicked
caption text Short text shown as a caption
alt text Alternative text for accessibility and when the image cannot be displayed
name text The name of the gallery item
title text The title of the gallery item
class text Additional CSS class name(s) to be applied to the gallery item
content_html html Additional HTML content to be displayed along with this gallery item
field_id String The identifier for this field
label String The label for this field
output String The default output that the gallery_item produces when output directly to the template. The default output may change at any time. Template developers should avoid using this and should handle the output of gallery items themselves

Related

object

May be any object, including simple, complex and list objects. In some cases may even include symbols and null.

{{ datastore_item }}

{% gallery %}

{{ menu_item }}

{{ text }}

{{ html }}

string

Can be any text, from the empty string ("") to the full HTML output of the template. When used alone in a conditional, all strings evaluates as true - even if they are empty or a value such as "0" or "false".

{% datastore_item %}

{{ url }}

Field containing a URL.

integer

A whole (non-fractional, non-decimal) number. May be 0. Any value - including 0 - evaluates as true when used alone in a conditional.

{% menu_item %}

{{ image }}

{{ gallery }}

{{ content }}

Contains multiple objects.