Skip to main content

The Image component allows you to easily add visual content to pages. You can customize the size and alignment of your image, adjust the margins for better spacing, and choose where the caption appears to enhance your page's layout.

Content Options

Aspect Ratios

No aspect ratio
Square - 1x1
Landscape - 4x3
Wide/Cinema - 16x9
Portrait - 3x4
Freeform

Linking

This image has a link that opens in the same tab/window
This image has a link that opens in a new tab/window
This image has no link, but it does have a title

Layout and Styling Options

Image Widths

Small (150px)
Medium (300px)
Large (450px)
X-Large (600px)
2X-Large (750px)
1/4 (25%)
1/3 (33%)
1/2 (50%)
2/3 (66.6%)
3/4 (75%)
Expand (this image will grow to fit the space available until it reaches its full width.)

Image alignment

Left
Center
Right

Caption alignment

Left
Center
Right

Margin bottom

Margin bottom: x-small
Margin bottom: small
Margin bottom: medium
Margin bottom: large
Margin bottom: x-large

the end

Margin top

Margin top: x-small
Margin top: small
Margin top: medium
Margin top: large
Margin top: x-large

the end

Margin left

Margin left: x-small
Margin left: small
Margin left: medium
Margin left: large
Margin left: x-large

Margin right

Margin right: x-small
Margin right: small
Margin right: medium
Margin right: large
Margin right: x-large

Usage

Do

  • Select images that are directly related to the content and enhance the message.
  • Ensure images are appropriately sized.
  • Use images with a similar look and feel to maintain visual consistency across the site.
  • Align images in a way that complements the surrounding text and layout.
  • Verify that images display correctly on various screen sizes and resolutions.

Don't

  • Avoid images that are pixelated or blurry.
  • Refrain from placing too many images on a single page, which can overwhelm users.
  • Avoid using images that are too large or too small for the intended space.
  • Avoid images that don’t add value or context to the content.
  • Minimize reliance on generic stock images to keep content authentic.

Accessibility

  • Ensure that you provide suitable alt text for images. Alt text for images enhances web accessibility by offering a textual description for screen readers used by visually impaired users. See the a11yproject website for more information about writing alt text for images.