formImageInput

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:
  • any
  • capture
  • upload
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"
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.