Added support for loading images from URLs.