maxImageWidth

Availability: >= 3.0

Type: Object Property

Description: Maximum allowed width of images for upload.

Syntax:

$editor->maxImageWidth int $width

This restricts the size of images when uploading.

If GD is available then images over this size will be proportionally resized, otherwise they will not be uploaded.

See also:

maxImageSize, maxImageHeight