Added support for loading images from URL