image_cell
- Kevin Lladó (Unlicensed)
Owned by Kevin Lladó (Unlicensed)
display an image of limited width (could be integrated into a slider, a grid or a list) with (optionally) a text above or below the image.
Picture:
localized properties must be adapted to match your e-shop languages.
{
"title": "Image",
"type": "object",
"properties": {
"image": {
"type": "object",
"title": "Image",
"properties": {
"de": {
"type": "string",
"description": "label in German"
},
"fr": {
"type": "string",
"description": "label in French"
}
}
},
"title": {
"type": "object",
"title": "Label",
"description": "Optional, if no title, leave empty",
"properties": {
"de": {
"type": "string",
"description": "label in German"
},
"fr": {
"type": "string",
"description": "label in French"
}
}
},
"title_position": {
"type": "string",
"description": "Position of the title (below or above the image))",
"enum":["top","bottom"]
},
"alt_text": {
"type": "object",
"title": "Alt text when the mouse over the image",
"properties": {
"de": {
"type": "string",
"description": "alt text in German"
},
"fr": {
"type": "string",
"description": "alt text in French"
}
}
},
"link_url": {
"type": "object",
"title": "Link when the user clicks on the image ()or the title)",
"properties": {
"de": {
"type": "string",
"description": "link in German"
},
"fr": {
"type": "string",
"description": "link in French"
}
}
},
"accessor": {
"type": "string",
"description": "hits accessor (typically leave empty)"
}
}
}
Complete Layout Block: