Skip to end of banner
Go to start of banner

image_cell

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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.

 JSON Schema

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:

  • No labels