Aurigma Image Uploader 4.8 Dual
ImageUploader.UploadThumbnail1FallbackMode Property
See Also Supported in: ActiveX Java

Switch that specifies whether the original file or an icon should be sent to the server, if the first thumbnail could not be created.

# Syntax

##### Initialize

JavaScript | Copy Code
--- | ---
    <script type="text/javascript" src="iuembed.js"></script>
    <script type="text/javascript">
    var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
    //...other params...
    iu.addParam("UploadThumbnail1FallbackMode", "Icon");
    //...other params...
    iu.writeHtml();
    </script>

##### Get/Set Value in Runtime

JavaScript | Copy Code
--- | ---
    getImageUploader("ImageUploaderID").setUploadThumbnail1FallbackMode(value);
    value = getImageUploader("ImageUploaderID").getUploadThumbnail1FallbackMode();

##### Property Value

One of the following values:

String value | Integer value | Description
--- | --- | ---
Icon | 0 | Send an icon.
SourceFile | 1 | Send the original file.

Default value is "Icon" (0).

# Remarks

If `SourceFile` (or 1) is set as the value of this property, and the Thumbnail1Scceeded_NN POST field contains `false`, the original image will be received on the server. Its name will be constructed as follows: OriginalFileName.OriginalFileExtension_Thumbnail1, where OriginalFileName.OriginalFileExtension will be replaced with the original file name and extension.

# See Also

##### Examples

POST Field Reference

##### Reference

UploadThumbnail1BackgroundColor Property
UploadThumbnail1CompressOversizedOnly Property
UploadThumbnail1CopyExif Property
UploadThumbnail1CopyIptc Property
UploadThumbnail1FitMode Property
UploadThumbnail1Height Property
UploadThumbnail1JpegQuality Property
UploadThumbnail1ResizeQuality Property
UploadThumbnail1Watermark Property
UploadThumbnail1Width Property