made get_image correctly iteration over the locations array.  Sometimes I'm too clever.