Zend_Validate_File_ImageSize::setImageMax
Sets the maximum image size
Signature
public function setImageMax(array
$options )
Parameters
$options
— array- The maximum image dimensions
Returns
- Zend_Validate_StringLength
- Provides a fluent interface
Errors/Exceptions
-
Zend_Validate_Exception
- When maxwidth is smaller than minwidth
-
Zend_Validate_Exception
- When maxheight is smaller than minheight