File format of the specified item of the upload list.
value = getImageUploader("ImageUploaderID").getUploadFileFormat(Index);
A positive integer which specifies an index of the upload list item (i.e. the upload file). An index is 1-based. In other words valid value is in range [1, UploadFileCount].
An integer value specifying a file format from the following table:
Value | Description |
---|---|
0 | Unknown |
1 | JPEG |
2 | BMP |
3 | PNG |
4 | TIFF |
5 | PCX |
6 | WBMP |
7 | GIF |
8 | PSD |
Do not confuse this property with UploadFileType. 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). This is the same string which is displayed in the Type column of the Details
view.