Works with URLs to generate image.