fix a bug where retina images may have the wrong size and name
Change handling of remote images to be much faster