## Aurigma Image Uploader 7.0.15

# messages.maxFileSizeExceeded Property

- Collapse All Sections
- See Also
- Language Filter ( all languages )
- Supported browsers:

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

## Syntax

### JavaScript

### Initialize

    $au.uploader({
        messages: {
            //...other params...
            maxFileSizeExceeded: "The file '[name]' cannot be selected. This file size exceeds the limit.",
            //...other params...
        }
    })

### Property Value

Type: String

The message which states that a user tries to select too large file (i.e. the file size exceeds the maxFileSize value). 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 file '[name]' cannot be selected. This file size exceeds the limit.".

## Remarks

This property is necessary for localization of Image Uploader.

## See Also

### Reference

- maxFileSize Property
- Aurigma.ImageUploader.Messages.MaxFileSizeExceeded ASP.NET Property
- Messages.MaxFileSizeExceeded PHP Property