TrophyCustomer's Canvas is honored with a 2020 InterTech Technology Award! Learn more 
This documentation is for the old version. Go to the latest Upload Suite docs

Restrictions.MaxImageWidth Property

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.

See Also

Reference