public function isImage($filepath)
	{
		$this->debug->groupCollapsed(__METHOD__, $filepath);
		$isImage = false;
		if (false && function_exists('exif_imagetype')) {
			$type = exif_imagetype($filepath);
			$isImage = ($type !== false && in_array($type, $this->imagetypes));
		} else {
			$imageInfo = getimagesize($filepath);
			$mime = $imageInfo['mime'];
			// $this->debug->log('imageInfo', $imageInfo);
			$isImage = (isset($this->imageTypes[$mime]) && $imageInfo[0] && $imageInfo[1]);
		}
		$this->debug->groupEnd();
		return $isImage;
	}