☁️ Loving our new documentation website? Provide feedback in the CloudCannon Community! ✨

height

Table of contents

Description:

This key defines the height of the bounding box used in the resizing method defined by resize_style.

Appears in:
├── _inputs
│   └── *
│       ├── Rich Text Input
│       │   └── options
│       │       └── height
│       ├── File Input
│       │   └── options
│       │       └── height
│       └── URL Input
│           └── options
│               └── height
└── _editables
    ├── content
    │   └── height
    ├── block
    │   └── height
    └── image
        └── height
Type:
number
Examples:

In this example, we have configured the height of the bounding box for an Image Input.

Copied to clipboard
_inputs:
  hero_image:
    type: image
    options:
      width: 1200
      height: 600
      resize_style: cover
{
  "_inputs": {
    "hero_image": {
      "type": "image",
      "options": {
        "width": 1200,
        "height": 600,
        "resize_style": "cover"
      }
    }
  }
}
Open in a new tab