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

ImageUploader.PreviewThumbnailSize Property

Supported in: ActiveX , Java

Size of thumbnails in the preview area when Thumbnails view mode is used.

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("PreviewThumbnailSize", "96");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setPreviewThumbnailSize(value);
value = getImageUploader("ImageUploaderID").getPreviewThumbnailSize();

Property Value

A positive integer value that specifies size of thumbnails in the preview area (in pixels). In other words, this property specifies size of square the thumbnail is inscribed in.

Default value is "96".

See Also

Manual

Reference