Added image directory and uploading time to DB