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

messages.dimensionsTooSmall Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

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

Syntax

JavaScript Initialize
$au.uploader({
    messages: {
        //...other params...
        dimensionsTooSmall: "The image '[name]' is too small to be selected.",
        //...other params...
    }
})

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 "The image '[name]' is too small to be selected.".

Remarks

This property is necessary for localization of Image Uploader.

See Also

Reference