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

« Previous Version 2 Current »

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:

 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

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.