An image component is used to display an image.
Parameter | Possible Values | Required | Description |
---|---|---|---|
type | image | Yes | The type of component you are rendering. |
id | Any string | No | A unique identifier for the component. |
url | A valid HTTPS URL | Yes | The URL where the image is located. |
align | left center right full_width | No | Aligns the image inside the component. Default is left. |
width | Any integer | Yes | The exact width of the image in pixels. |
height | Any integer | Yes | The exact height of the image in pixels. |
rounded | true false | No | Rounds the corners of the image. Default is false. |
bottom_margin | none | No | Disables a component’s margin-bottom of 10px. |
action | Action object | No | This can be a URL Action only. |