Gets a file format of the user-selected file.
value = $au.uploader('uploaderID').files().get(index).format();
Type: String
The format of this file. The following values are supported:
Unknown | Unknown file format. |
JPEG | JPEG file format. |
BMP | BMP file format. |
PNG | PNG file format. |
PCX | PCX file format. |
WBMP | WBMP file format. |
GIF | GIF file format. |
PSD | PSD file format. |
Do not confuse this property with type. File format returned through this property is determined with Image Uploader by analyzing file content (rather than the file extension). In the same time the file type is retrieved from system (determined via the file extension).