with a given parameters, do the image search. ensure we actually get the image instead of an error.