Throttle Builder · Components · Basic

Image

An image from the media library, with optional link.

The Image component in the Components library, with its description and settings
The Image component in the Components library, with its description and settings

What it is for

A picture from your media library, optionally linked to a page. Use it for banners, photos beside text and linked tiles.

  • Always write alt text for pictures that carry meaning.
  • Use Load first on one image per page, the one visible without scrolling; every other image should stay lazy.

Where you can use it

On any page, template, saved section, header or footer.

In the editor, open the Add tab of the left panel and drag it into a column. Its type is basic.image, version 1.

Options

Content tab

OptionKeyAllowed valuesDefault
ImageimageAn image from the Media library.Empty
Alt textaltText, up to 300 characters. One value per language.Empty
Decorative (no alt text)decorativeOn or off.Off
LinklinkA link to a page, product, collection, category, a search, or a web address.Empty
Phone image (art direction)mobileImageAn image from the Media library.Empty

Style tab

OptionKeyAllowed valuesDefault
Aspect ratioratioAdapt to the image (adapt), 1:1 (1:1), 4:3 (4:3), 3:4 (3:4), 16:9 (16:9).Adapt to the image (adapt)
Width (%)widthA number from 1 to 100.100
Height (px)heightA number from 20 to 2000.Empty
Corner radiusradiusNone (none), S (s), M (m), L (l), Full (full).None (none)
FitfitCover (cover), Contain (contain).Cover (cover)
AlignmentalignLeft, center, right or justify.left

Advanced tab

OptionKeyAllowed valuesDefault
Load first (the main image above the fold)priorityOn or off.Off

Every component also has the common options: Hide, Anchor, Space above, Space below, Entrance animation and Entrance delay.

Responsive behaviour

Every option can be set again for tablet (768 to 1024 px) and phone (767 px and below): switch the device at the top of the editor and change it there. Tablet starts from the desktop value and phone from the tablet value, so you only set what differs.

The picture is sent in several widths and the browser picks one: the full width of the screen on a phone, about half the screen on larger screens. Its width and alignment can differ per device. With "Phone image (art direction)" set, phones (767px and below) get that file instead, so you can crop differently for a narrow screen; the space for each picture is reserved from its own size.

SEO and accessibility

It is an img with its real width and height, so the page does not jump while it loads, plus a list of width variants (srcset) and lazy loading. The Alt text becomes the alt attribute; turn on Decorative to send an empty alt for pictures that only decorate. If a link is set, the image sits inside an a tag. Turn on "Load first (the main image above the fold)" (Advanced tab) for the main image at the top of a page: it is then loaded eagerly with high fetch priority instead of lazily, which helps the largest contentful paint. Aspect ratio crops the picture to 1:1, 4:3, 3:4 or 16:9; "Adapt to the image" keeps its own shape.

With an AI agent

An agent adds it with add_widget and changes its options with update_node, using the keys above. See the MCP tool reference.

The widget an agent adds
{
  "type": "basic.image",
  "v": 1,
  "props": {}
}
Generated from the code
The option tables on this page are generated from the component definitions in @usethrottle/builder-schema 0.4.2 and @usethrottle/storefront-react 0.4.5.