Gets or sets a maximum image width allowed for upload.

Syntax

PHP

Initialize

public function getMaxImageWidth() {
}

public function setMaxImageWidth($value) {
}

Property Value

Type: integer

The maximum allowed image width (in pixels). If the value is 0 then there is no limit.

Default value is 0.