public function filesize(Model $model, $data, $size = 5242880) {
        return $this->_validate($model, $data, 'size', array($size));
    }
public function filesize(Model $model, $data, $size = 5242880) {
        return $this->_validate($model, $data, 'size', array($size));
    }
public function filesize ( Model $ model , $ data , $ size = 5242880 ) { return $ this -> _validate ( $ model , $ data , 'size' , array ( $ size ) ) ; }
Validates an image file size. Default max size is 5 MB.

@param Model $model
@param array $data
@param int $size
@return bool
Validates an image file size . Default max size is 5 MB .