Show:

advancedEditing

Boolean

Enables advanced editing, the user can crop, set filters and manipulate the color of the image. This works only for png or jpeg images. If the original image has been edited via the image editor, the original image will be replaced by a PNG with 72DPI!


Default: false

filter

Boolean

Sets a filter on the image. Possible values: 'grayscale', 'sepia', 'sepia2' or any filter name from FPDFilters class.


Default: null

resizeToH

Number

Resizes the uploaded image to this height. 0 means it will not be resized.


Default: 0

resizeToW

Number

Resizes the uploaded image to this width. 0 means it will not be resized.


Default: 0

scaleMode

String

Set the scale mode when image is added into an upload zone or resizeToW/resizeToH properties are set. Possible values: 'fit', 'cover'


Default: 'fit'

uploadZone

Boolean

If true the image will be used as upload zone. That means the image is a clickable area in which the user can add different media types.


Default: false