---
title: "converter.mode Property  ActiveX/Java Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/JA_P_J_$au_converter_mode.htm
product: "Upload Suite 8"
---

# converter.mode Property ActiveX/Java Uploader JavaScript

Supported browsers: ![Internet Explorer](https://www.aurigma.com/docs/us8/icons/ie8.png)![Firefox](https://www.aurigma.com/docs/us8/icons/firefox.png)![Google Chrome](https://www.aurigma.com/docs/us8/icons/chrome.png)![Safari](https://www.aurigma.com/docs/us8/icons/safari.png)
 
Gets or sets a conversion mode of this converter.

## Syntax
 
```
$au.uploader({
    converters : [
        {
            //...other params...
            mode: "",
            //...other params...
        }
    ]
})
```

```
$au.uploader('uploaderID').converters().get(index).mode(value);
value = $au.uploader('uploaderID').converters().get(index).mode();
```
 
### Property Value
 
Type: **String**
 
The conversion mode of this converter.
 
Default value is **""**.

## Remarks
 
This property specifies a format string for a desired conversion mode. It consists of `masks=mode` pairs separated by semicolon. Each pair includes a set of file masks separated by comma and a corresponding mode. In general, this string has the following syntax:
 
`mask11,mask12,...=mode1;mask21,mask22,...=mode2;...`
 
When ActiveX/Java Uploader prepares the upload request, it parses the conversion mode format string from the beginning to the end and extracts such pairs. For each file selected for upload ActiveX/Java Uploader gives the first pair. If it finds a file mask in this pair which matches the file extension, it applies a corresponding mode. If no appropriate file mask found, ActiveX/Java Uploader checks the next pairs in the same way.
 
**Note** 
If there is no file mask corresponding to the original file extension or appropriate mode ActiveX/Java Uploader does not send this converted file.
 
This is a list of supported conversion modes:
 
| Value | Description |
| --- | --- |
| **SourceFile** | means that the selected file will be uploaded from a user's computer without any changes. |
| **Thumbnail** | works as follows. If the selected file is image, it will be resized using the parameters listed below and uploaded as JPEG file. Otherwise, a converted file will not be sent. |
| **Icon** | means that a system icon associated with the selected file will be uploaded. |
| **Zip** | means that a ZIP archive of the selected file will be uploaded. |
| **None** | means that no file will be uploaded. |

## See Also
 
### Reference
 
- [Aurigma.ImageUploader.Converter.Mode ASP.NET PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_Converter_Mode.htm.md)
- [Converter.Mode PHP PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_P_Converter_Mode.htm.md)

### Manual
 
- [Configuring Files to be Uploaded in ActiveX/Java Uploader](https://www.aurigma.com/docs/us8/configuring-files-to-be-uploaded-iu.htm.md)
- [Uploading Images](https://www.aurigma.com/docs/us8/uploading-images-iu.htm.md)
