---
title: Images and video
project: CMS
version: 1.0
section: widgets
language: en
license: MIT
url: https://totaljs.es/docs/cms/1-0/widgets/media/
updated: 2026-11-20T06:51:42.966Z
---

# Images and video

> Widgets that show pictures, logos, a gallery and a video.

Widgets that show pictures, logos and a video. A new image shows a grey placeholder of its size. Click it in the visual editor and choose **Edit** to upload or pick a picture from [Files](/cms/1-0/guides/files/). When an image has a fixed size, CMS opens a crop window so that your picture fits.

The widgets **Picture**, **Images**, **Image links** and **Partners** add `loading="lazy"` to their images on the public site, so the browser loads each picture when the visitor scrolls to it.

## API

### picture.html

Type: `component`

One image across the width of its area.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `link` | `Boolean` | no | `false` | **Enable link**: wraps the image in a link to `/`. Change the address with **Change link**. |
| `rounded` | `Boolean` | no | `false` | **Rounded corners**: rounds the corners of the image. |

Without a link, the image has the `img-viewer` class.

### images.html

Type: `component`

Rows of images: one, two and three images per row.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `links` | `Boolean` | no | `false` | **Enable links**: wraps each image in a link to `/`. |

Each image is 1920 x 1080 pixels. Choose **Duplicate** or **Remove** on a row to change the number of rows. The file in the repository also has a row of four images.

### gallery.html

Type: `component`

A grid of uploaded pictures.

Open **Widget settings** to add pictures: CMS opens the file picker, where you can choose several images at once. It uploads them to [Files](/cms/1-0/guides/files/) and adds them to the gallery. Each new picture can be removed on its own. The widget stores no settings.

### imagelinks.html

Type: `component`

Four square images, each with a title and a link.

Each image is 300 x 300 pixels. Change the address of each tile with **Change link**, and choose **Duplicate** to add tiles.

### partners.html

Type: `component`

A grid of 16 logos, for example of partners or customers.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `layout` | `String` | no | `col-sm-3` | **Layout**: `col-sm-3` for 4 columns or `col-sm-2` for 6 columns. |
| `links` | `Boolean` | no | `true` | **Enable links**: makes each logo a link that opens in a new tab. |

Each logo is 300 x 200 pixels. Choose **Remove** on a logo you do not need.

### video.html

Type: `component`

An embedded video player.

The widget embeds a sample Vimeo video. To show your own video, click the player, choose **Change attributes** and enter the embed address of your video in **Source URL**. The widget has no settings of its own.
