image_index
Attributes:
- c="category name" • Category of images to display. Default is presently viewed category.
- label="label text" • Label for the top of the list. Default is unset.
- labeltag="labeltag text" • Wraptag for label for the top of the list. Default is unset.
- break="tag" • HTML tag to be used for line breaks, without brackets. Default is br.
- wraptag="wraptag" • HTML tag to be used as the wraptag, without brackets. Default is unset.
- class="class name" • CSS class attribute, applied to wraptag. Default is image_index.
- sort="sort value(s)" • How to sort the resulting list. Available values: Default is name ASC.
- limit="integer" • Number of thumbnails to display. Default is unset or all.
- offset="integer" • The number of thumbnails to skip. Default is 0.
Behaviors:
The image_index tag is a single tag that is intended to be used in tandem with image_display.
The image_index tag renders thumbnails of all images contained in an image category. This category can be specified as an attribute to the tag and defaults to the current site category as given in the page's URL. The thumbnail images are linked to an address which will pass the image id plus the active category on to the tandem image_display tag. It is up to the user to include this tandem tag at an appropriate place inside the page template. Of importance: As the image category is passed into image_display, it basically requires to either place the "receiving" image_display on an article independent portion of the page (i.e. outside of the article form), or otherwise both the article used for display and the images have to share a common category.