Jump to main content Jump to doc navigation

Image 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

  1. Date TV Output Type
  2. Delimiter TV Output Type
  3. HTML Tag TV Output Type
  4. Image TV Output Type
  5. 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.



$0 per month—let's make that $500!

Learn more