thumbnail
Attributes:
- id="number" • Specifies the id assigned at upload of the image to display. Can be found on the Images tab. If both name and id are specified, name is used while id is ignored.
- name="image name" • Specifies which image thumbnail to display by its image name as shown on the Images tab.
- escape="html" • Escape HTML entities such as <, > and & for the image's alt and title attributes. Default is unset.
- wraptag="tag text" • HTML tag to be used to wrap the img tag, specified without brackets. Default is unset.
- class="class name" • CSS class attribute to apply to the image.
- html_id="id" • The HTML id attribute assigned to the image.
- style="style rule" • CSS style rule. Recommended that you use CSS via class or html_id attribute instead.
- link="boolean" • Apply href anchor link to thumbnail. Default is unset.
- link_rel="attribute text" • Apply rel attribute value to anchor link. Default is unset.
- align="HTML value" • HTML align attribute for the img tag. Recommended that you use CSS via class or html_id attribute instead.
- poplink="0 or 1" • If set to 1, the image will be rendered in a popup window. Default is 0.
Behaviors:
The thumbnail tag is a single tag which returns the <img src="..." /> HTML tag matching the thumbnail image of the numeric id assigned by Textpattern when the parent image was uploaded via the TXP Images tab.