Try hosting the image on the same server as you have the js file on.
Browsers block accessing resources on different servers unless the server are configured to allow that.
Try hosting the image on the same server as you have the js file on.
Browsers block accessing resources on different servers unless the server are configured to allow that.