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

Syntax

Initialize
JavaScript CopyCode imageCopy Code
<script type="text/javascript" src="iuembed.js"></script>
<script type="text/javascript">
var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
//...other params...
iu.addParam("UploadThumbnail3CompressOversizedOnly", "false");
//...other params...
iu.writeHtml();
</script>
Get/Set Value in Runtime
JavaScript CopyCode imageCopy Code
getImageUploader("ImageUploaderID").setUploadThumbnail3CompressOversizedOnly(value);
value = getImageUploader("ImageUploaderID").getUploadThumbnail3CompressOversizedOnly();
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 greater than the dimensions of the third thumbnail;
  • The size in bytes of the original file is not greater than the size of the third thumbnail.

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

Default value is "false".

See Also

Examples
Resizing and Rotating Images

Reference
UploadThumbnail3BackgroundColor Property
UploadThumbnail3CompressionMode Property
UploadThumbnail3CopyExif Property
UploadThumbnail3CopyIptc Property
UploadThumbnail3FitMode Property
UploadThumbnail3Height Property
UploadThumbnail3JpegQuality Property
UploadThumbnail3ResizeQuality Property
UploadThumbnail3Watermark Property
UploadThumbnail3Width Property