new method to load images by url.