This class represents a file converter.
Namespace:
Aurigma.ImageUploaderFlash
Assembly:
Aurigma.ImageUploaderFlash (in Aurigma.ImageUploaderFlash.dll)
public class Converter
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 property of the ImageUploaderFlash 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 the user selects.
For instance, you set the following collection of converters:
<aur:ImageUploaderFlash ID="Uploader1" runat="server"> <Converters> <aur:Converter Mode="*.*=SourceFile" /> <aur:Converter Mode="*.*=Thumbnail;*.*=Icon" ThumbnailHeight="120" ThumbnailWidth="120" ThumbnailFitMode="Fit" /> </Converters> </aur:ImageUploaderFlash>
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: