Text of the error message which states that the user tries to select a file that is too big.
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("MessageMaxFileSizeExceededText", "The file [Name] cannot be selected. This file size exceeds the limit ([Limit] KB)."); //...other params... iu.writeHtml(); </script>
getImageUploader("ImageUploaderID").setMessageMaxFileSizeExceededText(value); value = getImageUploader("ImageUploaderID").getMessageMaxFileSizeExceededText();
A string value that specifies a text of the error message stating that the user tries to select too large file (i.e. the file size exceeds the MaxFileSize value). To disable this message, set it to an empty string.
To be able to display additional information in this error message (like the FileName, and the limit you specified), special keywords are used:
Default value is "The file [Name] cannot be selected. This file size exceeds the limit ([Limit] KB).".
This property is necessary for localization of Image Uploader.
If you want to specify a multiline text use the "\n"
sequence to separate lines.