How set up correct path for Texture load in p5.js WEBGL?

edited October 2016 in p5.js

To attempt to apply a texture to the box, I got the message to Chrome console :

Image from origin 'https://s17.postimg.org' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.

A texture is not loaded not with the local drive, not from the web server instead I getting the error message some kind of security Chrome system. I'm sure there is a correct way to set up the path for texture, could you help me to figure out how to fix Chrome security restriction ?

I appreciate any help

Sign In or Register to comment.