Resize quality 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("UploadThumbnail2ResizeQuality", "Medium"); //...other params... iu.writeHtml(); </script> |
Get/Set Value in Runtime
JavaScript | ![]() |
---|---|
getImageUploader("ImageUploaderID").setUploadThumbnail2ResizeQuality(value); value = getImageUploader("ImageUploaderID").getUploadThumbnail2ResizeQuality(); |
Property Value
A member of this enumeration that specifies the resize quality of the second 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. |
![]() |
---|
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 ImagesReference
UploadThumbnail2BackgroundColor PropertyUploadThumbnail2CompressOversizedOnly Property
UploadThumbnail2CompressionMode Property
UploadThumbnail2CopyExif Property
UploadThumbnail2CopyIptc Property
UploadThumbnail2FitMode Property
UploadThumbnail2Height Property
UploadThumbnail2JpegQuality Property
UploadThumbnail2Watermark Property
UploadThumbnail2Width Property