Text of the error message which states that the width or height of selected image is too small.
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("MessageDimensionsAreTooSmallText", "The image [Name] cannot be selected. This image dimensions ([OriginalImageWidth]x[OriginalImageHeight]) are too small. The image should be larger than [MinImageWidth]x[MinImageHeight]."); //...other params... iu.writeHtml(); </script>
getImageUploader("ImageUploaderID").setMessageDimensionsAreTooSmallText(value); value = getImageUploader("ImageUploaderID").getMessageDimensionsAreTooSmallText();
A string value that specifies a text of the error message which states that the width or height of the selected image is too small (i.e. it is less than MinImageWidth or MinImageHeight property). To disable this message, set it to an empty string.
To be able to display additional information in this error message (like FileName, actual image size, and the limit you specified), special keywords are used:
Default value is "The image [Name] cannot be selected. This image dimensions ([OriginalImageWidth]x[OriginalImageHeight]) are too small. The image should be larger than [MinImageWidth]x[MinImageHeight].".
This property is necessary for localization of Image Uploader.
If you want to specify a multiline text use the "\n"
sequence to separate lines.