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

messages.fileSizeTooSmall Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a message which states that a user tries to select a file that is too small.

Syntax

JavaScript Initialize
$au.uploader({
    messages: {
        //...other params...
        fileSizeTooSmall: "The file '[name]' cannot be selected. This file size is smaller than the limit.",
        //...other params...
    }
})

Property Value

Type: String

The message which states that a user tries to select a file that is too small (i.e. the file size is smaller than minFileSize value). It can contain the following placeholder:

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

Default value is "The file '[name]' cannot be selected. This file size is smaller than the limit.".

Remarks

This property is necessary for localization of Image Uploader.

See Also

Reference