Skip to main content
Use a component target around an image.

1. Add a wrapper

Target [data-personalize='hero-visual'] with mode: 'component' and placement: 'replace'.

2. Add an image variant

Use your own image URL. Keep dimensions consistent across variants to avoid layout shifts, and write alt text for each image. If an image and its message must agree, include both in one component.
Imported HTML supports src, alt, width, height, loading, classes, and allowed inline styles. It does not preserve picture, source, srcset, or sizes. Keep a responsive image pipeline in your application if you need those features.Relative URLs resolve against the website origin. A broken image URL does not automatically select another variant. Preview the saved result before publishing.