info on uploaded images now added to db