Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

display an image of large width with (optionally) a text above or below the image.

...

Expand
titleJSON Schema

localized properties must be adapted to match your e-shop languages.

Code Block
languagejson
{
  "title": "Label",
  "type": "object",
  "properties": {
    "image": {
      "type": "object",
      "title": "Side 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"]
    },
    "size": {
      "type": "string",
      "description": "Width of the image",
      "enum":["normal","full-width"]
    },
    "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:

View file
nameimage_full.json