prototyping for fetching image from url