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

ImageUploader.UploadThumbnail3FitMode Property

Supported in: ActiveX , Java

Fit mode of the third thumbnail.



<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
//...other params...
iu.addParam("UploadThumbnail3FitMode", "Off");
//...other params...

Get/Set Value in Runtime

value = getImageUploader("ImageUploaderID").getUploadThumbnail3FitMode();

Property Value

A member of this enumeration that specifies a fit mode for the third thumbnail:

String valueInteger valueDescription
Off0Do not send a thumbnail of this size to the server.
Fit1Send a thumbnail which is resized to fit the specified rectangle.
Width2 Send a thumbnail which is resized to have the width which is not larger than the specified one.
Height3 Send a thumbnail which is resized to have the height which is not larger than the specified one.
Icon4Send an icon of the file instead of the thumbnail.
ActualSize5 Send the image of the original size (rotating and recompressing it if necessary).

If unsupported string value is passed, it is interpreted as Off.


When you receive this value through the JavaScript, integer value will be returned (even if you initialize appropriate property with a string value).

Default value is "Off" (do not send a thumbnail).


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

See Also