Retired Documentation:  You are using the documentation for version 1.7.3 which was retired in 2013. Go here for the latest version documentation or check here for your available upgrades to the latest version.

Photo Gallery Entries Variable Pairs

Several variable pairs can be used within the gallery entries tag.

entries

{entries}

{row_start}<tr>{/row_start}

{row}
<td>
<a href="{id_path='gallery/comments'}"><img src="{thumb_url}" width="{thumb_width}" height="{thumb_height}" alt="{title}" /></a>
</td>
{/row}

{row_end}</tr>{/row_end}

{/entries}

The entire repeating entry "row". This includes any starting or ending content for each "row".

Note that this variable pair is required unless the gallery entry ID is being specified in the URL.

row

{row}
<td>
<a href="{id_path='gallery/comments'}"><img src="{thumb_url}" width="{thumb_width}" height="{thumb_height}" alt="{title}" /></a>
</td>
{/row}

The entry "row" contents. In the context of a table, you could think of these as the individual cells in a row.

Note that this variable pair is required unless the gallery entry ID is being specified in the URL.

row_blank

{row_blank}</tr>{/row_blank}

The content displayed for any "blank" row in the output.

row_end

{row_end}</tr>{/row_end}

The ending declaration of the row. In the context of a table, you could think of this as the "</tr> tag.

row_start

{row_start}<tr>{/row_start}

The starting declaration of the row. In the context of a table, you could think of this as the "<tr> tag.

Top of Page