Improve support for downloading images from web.