public static boolean isImage(String extension) {
		extension = extension.toLowerCase();
		if (extension.equals("png") || extension.equals("jpg") || extension.equals("jpeg")
				|| extension.equals("bmp") || extension.equals("gif"))
			return true;
		else
			return false;
	}