validate_fileMaxDimension

Validation of image file upload for max width and max height

Parameters
array $value

The $_FILES array

#
int $maxWidth

The maximum image width in pixels

#
int $maxHeight

The maximum image height in pixels

#
Returns
boolean