Image
Decoration and visibility use Dekorasyon ve görünürlük (BlockShell).
Image or inline SVG. Set
altfor meaningful images (logo, photo). Usedecorative: truefor purely decorative icons so assistive tech gets empty alt / aria-hidden. When neither is set, a localized soft fallback (“Related image”) is used. Raster sources use the normal image pipeline. Whensrcis an SVG, the editor stamps element ids intoinlineSvgMarkupand you can set light/dark fill and stroke per element (elementPaints). A non-emptyimageSizesstring is kept and used as the img sizes attribute. When it is empty, sizes are derived from the parent column.aspectRatioisauto,1:1,4:3, or16:9on the frame. Authoredimage.modeiscoverorcontain. The editor sizing section is not stored asimageSizing.
Fields
aspectRatio
Frame ratio. auto leaves the image's own ratio. 1:1, 4:3, and 16:9 set the frame.
aspectRatio: [{ if: "*", is: "16:9" }]content
src
Public CDN URL of the image or SVG file.
content: {
src: [{ if: "*", is: "https://cdn.example/logo.svg" }]
}srcDark
Optional raster URL used when the website theme is dark. Empty keeps src. Inline SVG paints are unchanged.
content: {
srcDark: [{ if: "*", is: "https://cdn.example/logo-light.svg" }]
}alt
Accessible description. Ignored when decorative is true. Prefer a specific label (e.g. site name for logos).
content: {
alt: [{ if: "*", is: "Graffen Logo" }]
}decorative
When true, forces empty alt (and aria-hidden on inline SVG) so screen readers skip the image.
content: {
decorative: [{ if: "*", is: true }]
}mode
How the image fits the frame. Authored image.mode — cover or contain, with optional { bp } conditions.
content: {
mode: [{ if: "*", is: "cover" }, { if: [{ bp: "mobile" }], is: "contain" }]
}elementPaints
Per stamped element (data-svg-canvas-id) Authored fill/stroke (theme, { on: hover }, opaque group-hover / group-hover:name). Legacy fillLight/fillDark/strokeLight/strokeDark strings still resolve for resting. Missing keys keep the author SVG colors.
Prefer Authored fill / stroke. Select elements in the SVG colors panel, set resting and hover. Group-hover paints use opaque Authored keys ({ "group-hover:svc": true }) or { on: "group-hover:svc" } via MCP until a group picker exists.
content: {
elementPaints: { "path-id": { fill: [{ if: "*", is: "#fff" }, { if: [{ "group-hover:svc": true }], is: "#dfbf7b" }] } }
}action
href
Optional link. Write action.href. link.href is an accepted alias. A string, or { url, params?, entryId?, routePageId? }.
entryId plus routePageId build the public URL from the route pattern and the entry. The last [param] is the entry. Earlier [relation.field] segments come from that entry, including {{var:item.id}} in a repeated list.
action: {
href: { url: "catalogue/[slug]", params: { slug: "baby-wipes" }, entryId, routePageId }
}rel
Optional link rel. Write action.rel. link.rel is an accepted alias. Omitted internal links have none; a new-tab external link defaults to noopener noreferrer.
action: {
rel: [{ if: "*", is: "nofollow" }]
}Default props
{
"localeSpecificImages": [
{
"if": "*",
"is": false
}
],
"shell": {
"visibility": [
{
"if": "*",
"is": true
}
],
"anchor": {
"anchorId": [
{
"if": "*",
"is": ""
}
],
"anchorKey": [
{
"if": "*",
"is": ""
}
]
},
"pointerEvents": [
{
"if": "*",
"is": "auto"
}
]
},
"action": {
"openInNewTab": [
{
"if": "*",
"is": false
}
]
}
}