Defines that an image file should be attached.

Referenced by: formAttachmentElement, formAttachmentInput

Properties

PropertyDetails
inputMethodThe supported input methods used to attach an image.
Valid values:
  • any
  • capture
  • upload
maxImageSizeNumber 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.
typeThe input type identifier.
Valid value of this property image

Example

{
"inputMethod": "any",
"type": "image"
}

Example

{
"inputMethod": "capture",
"maxImageSize": 1280,
"type": "image"
}