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
Was this helpful?