## Aurigma Image Uploader 6.5 Dual

# ImageUploader.UploadThumbnail2CompressOversizedOnly Property

- Collapse All Sections
- See Also
- Language Filter ( all languages )
- Supported in: ActiveX , Java

Switch that specifies whether an original file should be uploaded as the second thumbnail in case when original image dimensions and file size are not bigger than dimensions and file size of the second thumbnail.

## Syntax

### Initialize

### JavaScript

    <script type="text/javascript" src="iuembed.js">  </script>
    <script type="text/javascript">
    var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
    //...other params...
    iu.addParam("UploadThumbnail2CompressOversizedOnly", "false");
    //...other params...
    iu.writeHtml();
    </script>

### Get/Set Value in Runtime

### JavaScript

    getImageUploader("ImageUploaderID").setUploadThumbnail2CompressOversizedOnly(value);
    value = getImageUploader("ImageUploaderID").getUploadThumbnail2CompressOversizedOnly();

### Property Value

A boolean value (true or false). If true and:

- The original file is JPEG;
- No watermark is applied;
- The dimensions of the original file are not bigger than the dimensions of the second thumbnail;
- The size in bytes of the original file is not greater than the size of the second thumbnail.

Then the original file will be sent instead of the second thumbnail. In all other cases a thumbnail is created.

Default value is "false".

## See Also

### Manual

- Resizing and Rotating Images

### Reference

- UploadThumbnail2BackgroundColor Property
- UploadThumbnail2CompressionMode Property
- UploadThumbnail2CopyExif Property
- UploadThumbnail2CopyIptc Property
- UploadThumbnail2FitMode Property
- UploadThumbnail2Height Property
- UploadThumbnail2JpegQuality Property
- UploadThumbnail2ResizeQuality Property
- UploadThumbnail2Resolution Property
- UploadThumbnail2Watermark Property
- UploadThumbnail2Width Property