trying to relate images to cases