Resize quality of the first 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("UploadThumbnail1ResizeQuality", "Medium");
//...other params...
iu.writeHtml();
</script>
Get/Set Value in Runtime
JavaScript CopyCode imageCopy Code
getImageUploader("ImageUploaderID").setUploadThumbnail1ResizeQuality(value);
value = getImageUploader("ImageUploaderID").getUploadThumbnail1ResizeQuality();
Property Value

A member of this enumeration that specifies the resize quality of the first thumbnail:

String value Alternative string value Integer value Description
ResizeQualityMedium Medium 0 Default quality.
ResizeQualityHigh High 1 High quality. When using this mode in ActiveX version, thumbnails are created in two steps. On the first step the thumbnail is created twice as large as required. On the second step the thumbnail is downsized using the Bell filter.
NoteNote

When you get this property value through the JavaScript, integer value will be returned (even if you initialize the property with a string value).

Default value is "Medium".

See Also

Examples
Resizing and Rotating Images

Reference
UploadThumbnail1BackgroundColor Property
UploadThumbnail1CompressOversizedOnly Property
UploadThumbnail1CompressionMode Property
UploadThumbnail1CopyExif Property
UploadThumbnail1CopyIptc Property
UploadThumbnail1FitMode Property
UploadThumbnail1Height Property
UploadThumbnail1JpegQuality Property
UploadThumbnail1Watermark Property
UploadThumbnail1Width Property