EditableImage is the standard component for in-place editable images.
Use this when the image should be both displayed and replaceable through the editor UI. In edit mode, authorized users can click the image and swap it without changing template code. Outside edit mode, it behaves like a normal image display component.
Unlike ResponsiveImg and ResponsiveImgModal, this component is content-backed: the rendered image is resolved from elementId, so the same elementId can be reused in multiple places to keep those instances synchronized.
If no image has been configured yet, the component falls back to placeholder.
Invocation example:
<editable-image elementId="mainHeroImage" />
Recommended with placeholder:
<editable-image
elementId="mainHeroImage"
placeholder="https://images.example.com/hero-fallback.jpg"
/>
Reusing the same image in multiple locations:
<editable-image elementId="brandLogo" width="160" height="160" />
<editable-image elementId="brandLogo" width="48" height="48" />