Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Use either the following HTML or Textile markup to add an inline JPG/PNG image to a custom page:

HTML markup:

Code Block
<img src="IMAGE_URL" alt="IMAGE_DESCRIPTION" />

Textile markup:

Code Block
!IMAGE_URL(IMAGE_DESCRIPTION)!

Where:

  • IMAGE_URL is a URL pointing to the image (eg http://domain.com/path/to/image.jpg).

  • IMAGE_DESCRIPTION is text describing the image (eg "A flower in bloom").

If you uploaded your image to TitleLeaf via the Images module, then you can use a page variable shortcut:

Code Block
{{ "IMAGE_FILE_NAME" | tl_image_tag }}

Where:

  • IMAGE_FILE_NAME is the name of the file including file extension (eg, "cow.png" or "baby_goats.jpg").