get a url for an image