Cross-origin problem

You may serve a cors headers and a base64 version of your image as described