Defines that an image file should be attached.
Referenced by: formAttachmentElement, formAttachmentInput
Properties
Property | Details |
---|---|
inputMethod | The supported input methods used to attach an image. Valid values:
|
maxImageSize | Number of pixels on the longest edge depending on orientation. Larger images will be resized and aspect ratio is maintained. If maxImageSize is not specified, images will not be resized. |
type | The input type identifier. Valid value of this property image |
Example
{
"inputMethod": "any",
"type": "image"
}
Example
{
"inputMethod": "capture",
"maxImageSize": 1280,
"type": "image"
}