Ide 加载网络图片

大家好,我是新手, 用ide做网络js的游戏,但是我现在要加载的是外部网络的图片,出现跨站的问题,需要怎么解决ne>?

var res = {
HelloWorld_png : “http://xxx/res/HelloWorld.png”,
CloseNormal_png : “res/CloseNormal.png”,
CloseSelected_png : “res/CloseSelected.png”
};

Image from origin ‘http://2.androidsoure.sinaapp.com’ has been blocked from loading by Cross-Origin Resource Sharing policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://127.0.0.1:8000’ is therefore not allowed access.
这个是出现的错误。我想问要怎么养才能获取。