Images and video
Widgets that show pictures, logos, a gallery and a video.
On this page
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. 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
component
picture.html
One image across the width of its area.
picture.html| Parameter | Type | Description |
|---|---|---|
link? |
Boolean |
Enable link: wraps the image in a link to /. Change the address with Change link. Default: false |
rounded? |
Boolean |
Rounded corners: rounds the corners of the image. Default: false |
Without a link, the image has the img-viewer class.
component
images.html
Rows of images: one, two and three images per row.
images.html| Parameter | Type | Description |
|---|---|---|
links? |
Boolean |
Enable links: wraps each image in a link to /. Default: false |
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.
component
gallery.html
A grid of uploaded pictures.
gallery.htmlOpen Widget settings to add pictures: CMS opens the file picker, where you can choose several images at once. It uploads them to Files and adds them to the gallery. Each new picture can be removed on its own. The widget stores no settings.
component
imagelinks.html
Four square images, each with a title and a link.
imagelinks.htmlEach image is 300 x 300 pixels. Change the address of each tile with Change link, and choose Duplicate to add tiles.
component
partners.html
A grid of 16 logos, for example of partners or customers.
partners.html| Parameter | Type | Description |
|---|---|---|
layout? |
String |
Layout: col-sm-3 for 4 columns or col-sm-2 for 6 columns. Default: col-sm-3 |
links? |
Boolean |
Enable links: makes each logo a link that opens in a new tab. Default: true |
Each logo is 300 x 200 pixels. Choose Remove on a logo you do not need.
component
video.html
An embedded video player.
video.htmlThe 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.