Fix details, add image?() to ImageMetadata db