v24
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

Example

1
{
2
"key": "square_image",
3
"type": "image",
4
"localisable": "true",
5
"aspect_ratio": [1, 1],
6
"width": [20, 1000],
7
"height": [20, 1000],
8
"file_size": 2048
9
}
Copied!
Last modified 1yr ago
Copy link
Contents
Example