/** * Process upload * * @return boolean|string */ protected function processUpload() { $this->getInfo($this->file->tmp_name); if ($this->options->max && !$this->checkMax($this->options->max->width, $this->options->max->height) or $this->options->min && !$this->checkMin($this->options->max->width, $this->options->max->height)) { return FALSE; } return parent::processUpload(); }