Image TV Output Type
Last updated May 17th, 2019 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$280 per month—let's make that $500!
Learn moreImage TV Output Type¶
This output-type allows you to wrap an img-tag around the input (normally should be input-type: "image").
Output Options¶
It's output options look like:

| Name | Description | Value |
|---|---|---|
| Output type | The option to be outputted to the frontend. | Image |
| Alternate text | alternative text for the image to be displayed if img coudn't be load | |
| H Space | horizontal space | |
| V Space | vertical space | |
| Border Size | size of the border the image should get | |
| Align | align of the image (middle, top, bottom, center, left, right) | none |
| Name | name for the image tag | |
| Class | CSS class to attach the img tag | |
| ID | CSS ID to attach the img tag | |
| Style | Any CSS style-attributes to add to the tag | |
| Attributes | any other HTML-attributes you want to add to the tag |
See Also¶
- Date TV Output Type
- Delimiter TV Output Type
- HTML Tag TV Output Type
- Image TV Output Type
- URL TV Output Type
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$280 per month—let's make that $500!
Learn more










