public void addImage(File f) {

		Image image = null;
		try {
			image = new Image(f);
		} catch (ImageProcessingException | IOException e1) {
			// TODO Auto-generated catch block
			e1.printStackTrace();
			return;
		}

		try {
			sqlInterface.addImage(image);
		} catch (SQLException e) {
			log.error(e.getMessage(), e);
		}
	}