added deleteImage functionality, database now stores full-path to image, database now stores title of image, extension, select image is done while checking if deletedDate is NULL