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

PHP
public function getFileSizeTooSmall() {
}

public function setFileSizeTooSmall($value) {
}

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