adding image files in db to project