BlockImageData Object
Description
Data configuration for an image block.
Declaration
type BlockImageData {
ref: ID
uri: String
format: String!
fit: ImageFit!
maxWidth: String!
to: String
}
Fields
| Name | Type | Description |
|---|---|---|
ref | ID | Reference to the media file. |
uri | String | URI to the image file. |
format | String! | Media format to use (e.g., "banner", "square", "thumbnail"). |
fit | ImageFit! | How the image should fit within its container. |
maxWidth | String! | Maximum width for the image (e.g., "100%", "500px"). |
to | String | URL to navigate to when the image is clicked. |