messages.dimensionsTooSmall Property HTML5/Flash Uploader JavaScript

Supported technologies: Adobe Flash

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

Syntax

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

Property Value

Type: String

The 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. 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 small, the file wasn't added. Allowed minimum are {1}x{2} pixels.".

Remarks

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

See Also

Reference