image
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 to display by its image name as shown on the Images tab.
- html_id="id" • The HTML id attribute assigned to the wraptag element. If there is no wraptag then the id is assigned to the img element itself.
- escape="html" • Escape HTML entities such as <, > and & for the image's alt and title attributes.
- wraptag="tag text" • HTML tag to be used to wrap the img tag, specified without brackets. Default is empty.
- class="class name" • CSS class attribute to apply to the img tag.
- width="width setting" • Default is unset.
- height="height setting" • Default is unset.
- style="style rule" • CSS style rule.
- align="HTML value" • HTML align attribute for the img tag. Deprecated.
Behaviors:
The image tag is a single tag which returns the <img src="..." /> HTML tag matching the image with the numeric id assigned by Textpattern when the image was uploaded via the TXP Images tab.