Image
An image uploader / image URL field. Produces URL string.
The following attributes are allowed for an image field:
Name | Mandatory | Description |
width | true | An array of two positive integers [left_bound, right_bound], provides the range of allowed pixel values for the width of an image. height |
height | true | An array of two positive integers [left_bound, right_bound], provides the range of allowed pixel values for the height of an image. aspect_ratio |
file_size | true | An positive integer provides the maximum allowed file size in kilobytes. |
aspect_ratio | false | An array of two positive integers [width, height], provides the allowed value for aspect ratio. |
Maximum file size is 32Mb
{
"key": "square_image",
"type": "image",
"localisable": "true",
"aspect_ratio": [1, 1],
"width": [20, 1000],
"height": [20, 1000],
"file_size": 2048
}
Last modified 2yr ago