This key defines a number suffixed with "x" (relative size) or "w" (fixed width) for setting the dimensions of the image (e.g. 2x, 3x, 100w, 360w).
Appears in#
Type#
string Required
Examples#
In this example, we have configured a size definition for an Image Input to create a 2x relative size image.
Copied to clipboard
_inputs:
hero_image:
type: image
options:
sizes:
- size: 2x{
"_inputs": {
"hero_image": {
"type": "image",
"options": {
"sizes": [
{
"size": "2x"
}
]
}
}
}
}