proof of concept for image, but ran into trouble trying to extend to multiple images