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

ImageUploader.DimensionsAreTooSmallText Property

Supported in: ActiveX , Java

Text of the label displayed when image dimensions are smaller than the ones specified with the MinImageWidth and MinImageHeight 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("DimensionsAreTooSmallText", "Image is too small");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setDimensionsAreTooSmallText(value);
value = getImageUploader("ImageUploaderID").getDimensionsAreTooSmallText();

Property Value

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

Default value is "Image is too small".

Remarks

This property is necessary for localization of Image Uploader.

See Also

Manual

Reference