app.offprint.block.image

dmeznw3lbvqd6yyi.glorp.network View official

Documentation

main object

No description available.

Properties

alignment string Optional

Horizontal alignment

alt string Optional

Alt text for accessibility

maxGraphemes: 300 graphemes
aspectRatio ref #aspectRatio Optional

No description available.

blob blob Optional

The image blob

maxSize: 10.0 MB
caption string Optional

Image caption

width string Optional

CSS width value (e.g., "50%", "300px")

View raw schema
{
  "type": "object",
  "properties": {
    "alt": {
      "type": "string",
      "description": "Alt text for accessibility",
      "maxGraphemes": 300
    },
    "blob": {
      "type": "blob",
      "accept": [
        "image/*"
      ],
      "maxSize": 10000000,
      "description": "The image blob"
    },
    "width": {
      "type": "string",
      "description": "CSS width value (e.g., \"50%\", \"300px\")"
    },
    "caption": {
      "type": "string",
      "description": "Image caption"
    },
    "alignment": {
      "enum": [
        "left",
        "center",
        "right"
      ],
      "type": "string",
      "description": "Horizontal alignment"
    },
    "aspectRatio": {
      "ref": "#aspectRatio",
      "type": "ref"
    },
    "captionFacets": {
      "type": "array",
      "items": {
        "ref": "app.offprint.richtext.facet",
        "type": "ref"
      },
      "description": "Facets for caption formatting"
    }
  }
}
aspectRatio object

No description available.

Properties

height integer Required

No description available.

minimum: 1
width integer Required

No description available.

minimum: 1
View raw schema
{
  "type": "object",
  "required": [
    "width",
    "height"
  ],
  "properties": {
    "width": {
      "type": "integer",
      "minimum": 1,
      "required": true
    },
    "height": {
      "type": "integer",
      "minimum": 1,
      "required": true
    }
  }
}

Lexicon Garden

@