Heading to the Printing United trade show? Schedule a meeting with our representatives.

file Methods HTML5/Flash Uploader JavaScript

The file type exposes the following methods.

Methods

NameDescription
Public method calculateHash(Function) Calculates MD5 hash for a file.
Public method exif(Function) Gets a collection of EXIF fields of a file.
Public method getPreview(Object) Receives an img element of containing the preview of a file.
Public method iptc(Function) Gets a collection of EXIF fields of a file.
Public method remove Removes the user-selected files from the upload pane.
Public method showImageEditor(Number,Number) Opens a file in the built-in image editor.