code: public static void main(String args[]) throws Exception {
  		String urlStr = "http://upload.wikimedia.org/wikipedia/commons/5/58/Sunset_2007-1.jpg";
  		String id = "Sunset_2007-1";
  		String downloadFolder = "images/";
  		boolean saveThumb = true;
  		boolean saveOriginal = true;
  		boolean followRedirects = false;
  		ImageDownload imdown = new ImageDownload(urlStr, id, downloadFolder, saveThumb, saveOriginal,
  				followRedirects);
  		imdown.setDebug(true);
  
  		ImageDownloadResult imdr = imdown.call();
  		System.out.println("Getting the BufferedImage object of the downloaded image.");
  		imdr.getImage();
  		System.out.println("Reading the downloaded image thumbnail into a BufferedImage object.");
  		ImageIO.read(new File(downloadFolder + id + "-thumb.jpg"));
  		System.out.println("Success!");
  
  	}
docs: Example of a single image download using this class.
  
  @param args
  @throws Exception