Support setting image with an URL.