---
title: "converter Class  HTML5/Flash Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/FH_T_J_$au_converter.htm
product: "Upload Suite 8"
---

# converter Class HTML5/Flash Uploader JavaScript

Supported technologies: ![Adobe Flash](https://www.aurigma.com/docs/us8/icons/flash.png)![HTML 5](https://www.aurigma.com/docs/us8/icons/html5.png)
 
This class represents a file converter.

For a list of all members of this class, see [converter Members](https://www.aurigma.com/docs/us8/FH_AllMembers_T_J_$au_converter.htm.md).

## Syntax
 
```
$au.converter = function() {
}
```

## Remarks
 
HTML5/Flash Uploader allows sending up to three so-called *converted files* for each of the user-selected files. These files are configured using the [converters](https://www.aurigma.com/docs/us8/FH_P_J_$au_imageUploaderFlash_converters.htm.md) property of the [imageUploaderFlash](https://www.aurigma.com/docs/us8/FH_T_J_$au_imageUploaderFlash.htm.md) object. This property accepts a collection of [converter](https://www.aurigma.com/docs/us8/FH_T_J_$au_converter.htm.md) instances. Each converter describes one file (source, thumbnail, icon, or ZIP archive) to be uploaded for every file the user selects.
 
For instance, you set the following collection of converters:
 ```
var u = $au.iamgeUploaderFlash({
    id: 'Uploader1',
    converters: [
        {mode: '*.*=SourceFile'},
        {mode: '*.*=Thumbnail;*.*=Icon', thumbnailFitMode: 'Fit', thumbnailWidth: '120', thumbnailHeight: '120'}
    ]
});
``` 
It means that HTML5/Flash Uploader will send an original file and its resized copy or icon. So if a user selects two files (a JPEG image and a PDF document) HTML5/Flash Uploader will send four files:
 
- the JPEG image and the PDF file themselves,
- a resized copy of the image and a PDF icon.

## See Also
 
### Reference
 
- [Aurigma.ImageUploaderFlash.Converter ASP.NET Class HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_T_Aurigma_ImageUploaderFlash_Converter.htm.md)
- [Converter PHP Class HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_T_P_Converter.htm.md)

### Manual
 
- [Configuring Files to be Uploaded in HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/configuring-files-to-be-uploaded-iuf.htm.md)
