maxImageSize

Availability: >= 3.0

Type: Object Property

Description: Maximum file size of image files allowed for upload.

Syntax:

$editor->maxImageSize in $size;

The value should either be an integer specified in bytes or a string consisting of a numeric value followed by an optional space and unit modifier. Set to 0 for unlimited data.

Example:
Setting the max size to 1 MB:

$editor->maxImageSize '1 MB';

Setting the max size to 140 KB:

$editor->maxImageSize '140 KB'

See also:

maxDocSize, maxMediaSize, maxImageHeight, maxImageWidth