public function isFileExtensionImage($name) {
		static $imageExtensions = array(
			'jpg' => true,
			'png' => true,
			'jpeg' => true,
			'bmp' => true,
			'ico' => true,
			'gif' => true,
			'tiff' => true,
			'jpeg-large' => true,
			'jpg-large' => true,
		);
		$ext = pathinfo($name, PATHINFO_EXTENSION);
		return ($imageExtensions && isset($imageExtensions[$ext]) && $imageExtensions[$ext]);
	}