This documentation is for the old version. Go to the latest Upload Suite docs

ImageUploader.UploadThumbnail1ResizeQuality Property

Supported in: ActiveX , Java

Resize quality of the first 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("UploadThumbnail1ResizeQuality", "Medium");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
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 valueAlternative string valueInteger valueDescription
ResizeQualityMediumMedium0 Default quality.
ResizeQualityHighHigh1 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.
Note

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

Manual

Reference