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

ImageUploader.AllowLargePreview Property

Supported in: ActiveX , Java

Switch that enables large preview of an image in a separate window.

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

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setAllowLargePreview(value);
value = getImageUploader("ImageUploaderID").getAllowLargePreview();

Property Value

A boolean value (true or false). If true, a magnifier icon is visible when the user hovers a mouse pointer over a thumbnail. By clicking this icon the user can open a larger preview of the image, if it is available.

Default value is "false".

Remarks

You can specify a custom icon using the LargePreviewIconImageFormat property.

See Also

Reference