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

ImageUploader.DimensionsAreTooLargeText Property

Supported in: ActiveX , Java

Text of the label displayed when image dimensions are larger than the ones specified with the MaxImageWidth and MaxImageHeight properties.

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("DimensionsAreTooLargeText", "Image is too large");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setDimensionsAreTooLargeText(value);
value = getImageUploader("ImageUploaderID").getDimensionsAreTooLargeText();

Property Value

A string value that specifies a caption of the label displayed when an image does not match specified dimensions (too large).

Default value is "Image is too large".

Remarks

This property is necessary for localization of Image Uploader.

See Also

Manual

Reference