database for images, detail view controller gets image and result