messages.dimensionsTooLarge Property HTML5/Flash Uploader JavaScript

Supported technologies: Adobe Flash

Gets or sets a message which states that the width or height of the selected image is too large.

Syntax

JavaScript Initialize
$au.imageUploaderFlash({
    messages: {
        //...other params...
        dimensionsTooLarge: "Dimensions of '{0}' are too large, the file wasn't added. Allowed maximum are {1}x{2} pixels.",
        //...other params...
    }
})
Get/Set Value at Runtime
$au.imageUploaderFlash('uploaderID').messages().dimensionsTooLarge(value);
value = $au.imageUploaderFlash('uploaderID').messages().dimensionsTooLarge();

Property Value

Type: String

The message which states that the width or height of the selected image is too large (i.e. exceeds the maxImageWidth or maxImageHeight property). To disable this message, set it to an empty string. It can contain the following placeholder:

[name]
replaced by the name of the file which cannot be added.

Default value is "Dimensions of '{0}' are too large, the file wasn't added. Allowed maximum are {1}x{2} pixels.".

Remarks

This property is necessary for localization of HTML5/Flash Uploader.

See Also

Reference