> For the complete documentation index, see [llms.txt](https://docs.varbase.vardot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.varbase.vardot.com/content-designers/building-pages-with-drupal-canvas/component-catalog/image-and-video-components.md).

# Image and Video Components

These components show pictures and video from the media library, so alt text and focal points set there come with them. See [Media](https://docs.varbase.vardot.com/content-designers/media-management.md).

## Image

A single image from the media library.

* **Key settings**: **Image**, **Image ratio (crop)** (auto, wide 16:9, standard 4:3, square, ultra-wide 21:9), **Image fit** (fill and crop, or fit without cropping), **Alignment**, **Width**, **Border radius**, **Loading behavior**, and an optional **Link URL** with **Link target**.
* **Tip**: use the same ratio for images in one row. The focal point set in the library keeps the important part in view when the image is cropped.

## Figure

An image with a caption underneath. Use it when the picture needs explaining, such as a chart or a photo of a named place.

## Video

A video from the media library, played on the page.

* **Key settings**: **Video (upload/select)**, **Aspect ratio**, **Loading** (lazy or eager).
* **Tip**: long videos belong on a video service as **Remote video**. Players from outside services wait for the visitor's consent. See [Cookie Consent](https://docs.varbase.vardot.com/content-designers/security-and-privacy/cookie-consent.md).

## Media Banner

The intro band at the top of inside pages: a background image with the page title, a line of text and buttons over it.

<figure><img src="https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-6df511c09bab513a586e5a94d921ff248d332fff%2Fcanvas-component-media-banner.png?alt=media" alt="A media banner with a dimmed photo of people working behind a small label, the heading Build Stunning Drupal Websites, a line of text and two buttons"><figcaption><p>A Media Banner</p></figcaption></figure>

* **Key settings**: **Background image** and **Background image position**, **Banner height** (ribbon or large), **Content position**, **Content width**, **Overlay background** and **Overlay opacity**, **Container style**, **Background edge-to-edge**, padding and **Border radius**.
* **Slots**: **Media banner content**, for the heading, text and buttons.
* **Tip**: raise **Overlay opacity** until the text is easy to read on every part of the image. The **Page Intro Banner** pattern builds one in a step.
