Resize quality of preview thumbnails.
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("PreviewThumbnailResizeQuality", "Medium"); //...other params... iu.writeHtml(); </script> |
Get/Set Value in Runtime
JavaScript | ![]() |
---|---|
getImageUploader("ImageUploaderID").setPreviewThumbnailResizeQuality(value); value = getImageUploader("ImageUploaderID").getPreviewThumbnailResizeQuality(); |
Property Value
A member of this enumeration that specifies the resize quality for preview thumbnails:
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
Reference
PreviewThumbnailActiveDropHighlightedColor PropertyPreviewThumbnailActiveSelectionColor Property
PreviewThumbnailBorderColor Property
PreviewThumbnailBorderHoverColor Property
PreviewThumbnailInactiveDropHighlightedColor Property
PreviewThumbnailInactiveSelectionColor Property
PreviewThumbnailSize Property