add image data to db and use for summary page