Images

This page includes a variety of images to demonstrate image styling, spacing, captions, alt text, and zoom behavior.

When to use <fig> vs. <image>:
  • Use an image <image> element by itself for simple inline graphics that do not require a title or additional context. It is recommended to always include alternate text <alt> for accessibility.

  • Use a figure <fig> element when an image needs a title, can be referenced elsewhere in the document, needs "zoom" enabled, or should be treated as a standalone figure. The numbering of the figures is auto-populated during publishing.

Block Images <image>

Below is an image <image> element with no special attributes or styling applied. "Block" images appear on their own line (i.e., not inline with other text).

This is the alt text for the figure with a large image

Inline Images <image>

The attribute @placement="inline" can be applied to images that are placed within a paragraph of text (such as icons) to ensure they display at an appropriate line height.

Examples:

This image is a 16px PNG file .

This image is a 18px SVG file .

This image is a 24px PNG file .

This image is a 24px SVG file .

This image is a 450px PNG file .

This image is a 48px SVG file .

Image with Lightbox Class

Below is an image <image> element with the attribute outputclass="lightbox". This allows the image to be zoomed in.

Image with Lightbox

Image Alignment

The image <image> below has no alignment attributes applied.

This is an image

The image <image> below has an attribute of align="left" applied.

This is an image

The image <image> below has an attribute of align="center" applied.

This is an image

The image <image> below has an attribute of align="right" applied.

This is an image