(this page was created automatically. In case of formatting issues, please visit the official Wiki Page)

Image Displayer

Link to Figma: tba

Overview

Example Image Displayer

Specs

Tokens

Token Description
displayName Display name in structure panel
imageUrl URL or relative path to image (supports template expressions)
resizeImageStrategy Strategy for sizing/display inside container
width Image width (CSS value; with useStaticSize)
height Image height (CSS value; with useStaticSize)
alt Alternative text for the image
disableScrollbar Hide/show scrollbars when image exceeds container
widthAuto Auto-calculate component width from content
heightAuto Auto-calculate component height from content
paddingClass Padding via CSS class
events Configurable component events
ON_IMAGE_CLICK (Events) Event when user clicks image
ON_INIT (Events) Event on component initialization
ON_DESTROY (Events) Event when component is removed
ON_GLOBAL_PARAMETERS_CHANGE (Events) Event when global parameters change
visibilityPolicySetId Policy set controlling visibility
displayConditions Conditions to display the component
id Unique identifier for programmatic access
dataTestId Testing hook ID
enableAsHotspot Enable as guided tour hotspot
guidedTourHotSpotTitle Title for guided tour hotspot (translations)
guidedTourHotSpotDescription Description for guided tour hotspot (translations)
fitToContainer Strategy: scale to fit, keep aspect ratio
useStaticSize Strategy: use specified width/height
fillWholeContent Strategy: stretch to fill container (may distort)
useRealSize Strategy: show at original dimensions

Structure

(Configured in General Properties)

Imgae URL and settings Image Formatter

(Configured in Visual Properties)

(Configured in Visibility Properties)

  [ 
    { "field": "context.product.hasImage", "operator": "equals", "value": true } 
  ]

Styling

(Configured in Visual Properties)

Visual Properties tab

Actions & Variants

(Configured in Events)

(Configured in Visual Properties)

Tests

(Configured in Testing Hooks)

Authorization

(Configured in Authorization)

Guidelines

Usage

Sizing & Layout

Interactions & Events

Visibility & Authorization

Content & Localization

Accessibility