## Aurigma Image Uploader 7.0.15

# converter Class

- Collapse All Sections
- See Also
- Language Filter ( all languages )
- Supported browsers:

This class represents a file converter.

For a list of all members of this class, see converter Members.

## Syntax

### JavaScript

    $au.converter = function() {
    }

## Remarks

Image Uploader allows sending so-called converted files for each of the user-selected files. These files are configured using the converters property of the uploader object. This property accepts a collection of converter instances. Each converter describes one file (source, thumbnail, icon, or ZIP archive) to be uploaded for every file a user selects.

For example, you set the following collection of converters:

### JavaScript

    var u = $au.uploader({
        id: 'Uploader1',
        converters: [
            {mode: '*.*=SourceFile'},
            {mode: '*.*=Thumbnail;*.*=Icon', thumbnailFitMode: 'Fit', thumbnailWidth: '120', thumbnailHeight: '120'}
        ]
    });

It means that Image 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) Image 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

- converters Property
- Aurigma.ImageUploader.Converter ASP.NET Class
- Converter PHP Class

### Manual

- Configuring Files to be Uploaded