get a url for a photo