private function resizeImage($path) {
		$mime = $this->mimeType($path);

		$t = imagecreatetruecolor(8, 8);
		
		$source = $this->createImage($path);
		
		imagecopyresized($t, $source, 0, 0, 0, 0, 8, 8, $mime[0], $mime[1]);
		
		return $t;
	}