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

ImageUploader.UploadThumbnail1Width Property

Supported in: ActiveX , Java

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

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setUploadThumbnail1Width(value);
value = getImageUploader("ImageUploaderID").getUploadThumbnail1Width();

Property Value

A positive integer value that specifies a width restriction of the first thumbnail.

Default value is "96".

Remarks

Read about the UploadThumbnail1FitMode property for more details information how this property affects the thumbnail size.

If you choose to send resized thumbnails, you can specify the quality of resizing with the UploadThumbnail1ResizeQuality property.

See Also

Manual

Reference