Docs

Image

A single image with alt text, caption, link and lightbox.

On this page

The Image widget shows one picture from your media library (or from a URL), with alt text, an optional caption and an optional link or lightbox. It serves responsive image files, so phones download smaller versions, and it lazy-loads by default.

A photo of a calm living room with rounded corners and the caption “Cedar House: stone walls, oak floors and a lot of light.” below it
An image with a 3:2 aspect ratio, rounded corners and a custom caption.

Add an image

  1. Insert it

    Open Insert in the left panel, find Image under Basic (or type image in Search widgets) and click it or drag it onto the canvas.

  2. Choose the picture

    Click Choose image in Content → Image and pick or upload a file in the media library. Use a URL takes an image address instead.

  3. Describe it

    Check the Alt text: it comes from the media library, and you can override it here. Turn on Decorative for images that carry no information.

  4. Set Caption to From media library or Custom, and Link to Image file (lightbox) to open the full image in a lightbox.

With AI set up in Urmi → AI & MCP → AI writing, the image field also offers Write alt text with AI (with AI writing) and Generate with AI (with AI images). See AI writing and AI images.

Settings

Settings marked Per device can differ on desktop, tablet and mobile (see Responsive editing). The image, alt text, caption and URL support dynamic tags, for example the featured image in a template (see Dynamic tags).

Content tab

Image
SettingWhat it does
ImageThe image. Choose one from the media library, upload a new one, or use a URL. With AI images set up, Generate with AI creates one. Supports dynamic tags.
DecorativeFor flourishes that add no information, such as dividers or background art. Screen readers skip a decorative image.
Alt textDescribes the image for screen readers and search engines. Overrides the alt text from the media library. Write alt text with AI suggests one when AI writing is set up. Shown when Decorative is off. Supports dynamic tags.
ResolutionThe image size WordPress serves. Smaller files load faster; pick one at least as wide as the image is shown. Default: Large.
CaptionShows no caption, the caption from the media library, or your own text. Options: None, From media library, Custom.
Custom captionYour caption text. Shown when Caption is Custom. Supports dynamic tags.
LinkLinks the image to nothing, to the full image in a lightbox, or to a URL. Options: None, Image file (lightbox), Custom URL.
URLWhere the image links to. Shown when Link is Custom URL. Supports dynamic tags.
LoadingLazy loads the image when it comes near the screen. Choose Eager, high priority for the main image at the top of the page (the hero), so it appears as fast as possible. Options: Lazy (default), Eager, high priority (hero image).
AlignmentAligns an image that is narrower than its container. Options: Left, Center, Right. Per device.

Design tab

Image
SettingWhat it does
WidthWidth of the image. Per device.
Max widthLargest width the image may take. Per device.
HeightFixed height. Combine with Object fit to crop instead of stretch. Per device.
Aspect ratioCrops the image to a fixed shape, such as 16:9 or 1:1. Per device.
Object fitCover fills the box and crops, Contain fits the whole image, Fill stretches it. Options: Default, Cover, Contain, Fill. Per device.
Object positionWhich part of the image stays visible when it is cropped. Shown when Object fit is Cover or Contain.
Border radiusRounds the corners of the image. Per device.
BorderBorder of the image.
ShadowShadow of the image.
CSS filtersBlur, brightness, contrast, saturation and hue.
Hover effectAn effect when the pointer is over the image. Options: None, Zoom, Lift, Grayscale to color, Dim.
Caption

This section shows when Caption is set.

SettingWhat it does
TypographyText style or font, size, weight and spacing of the caption.
ColorColor of the caption.
SpacingSpace between the image and the caption.
Shared Design sections

Every element also has these sections at the end of the Design tab.

SectionWhat it does
Spacing & positionMargin, padding, width, alignment in its container, order, position (relative, absolute, fixed), offsets, z-index and global classes. See Spacing, size & position.
Background & borderBackground, border, border radius, box shadow, overflow and opacity of the whole element. See Colors & backgrounds and Borders & shadows.
MaskCrops the element to a shape (circle, arch, blob, star…) or your own SVG or PNG. See Shape dividers & masks.

Behaviour tab

Behaviour sections

The Behaviour tab is the same for every element.

SectionWhat it does
Anchor & classesAn Anchor ID for #links and your own CSS classes.
AnimationsEntrance, scroll, hover and loop animations from presets or your own timeline. See Motion & effects.
Motion & effectsA simple entrance animation, transforms (also on hover), CSS and backdrop filters, and sticky positioning.
Scroll & mouse effectsMovement, rotation, scale, fade and blur while the page scrolls, and pointer effects (follow the pointer, 3D tilt).
VisibilityHide the element on desktop, tablet or mobile, or in dark or light mode. See Visibility.
ConditionsShow the element only when rules match, such as logged-in visitors, a date range or a URL parameter. See Display conditions.
InteractionsShow, hide or change other elements when this one is clicked, hovered or scrolled into view. See Interactions.
AttributesCustom HTML attributes for this element. See Anchor, classes & attributes.

Tips

  • Write useful alt text. Describe what the image shows and why it matters (“Cedar House lounge with stone walls”), not “image of”. Accessibility checks list images without alt text.
  • Hero images load first. For the main image at the top of a page, set Loading to Eager, high priority. Keep every other image on Lazy.
  • Crop with aspect ratio. Design → Image → Aspect ratio plus Object fit → Cover gives a row of images the same shape without editing the files.
  • Right file size. Pick a Resolution close to the displayed size; Full can be several megabytes. See Performance.
  • Lightbox look. The lightbox's colors, captions, counter and download button are set once for the site, in Styles → Theme → Lightbox. See Lightbox & site behaviour.