working on loading images locally and cross browser request