Cross-Origin Request Blocked

I have using three js web Application.I want to load object and images from thirty party server, but showing the error message “Cross-Origin Request Blocked Reason: CORS header ‘Access-Control-Allow-Origin’ missing”.

I have used this script. Please help me.

var manager = new THREE.LoadingManager();
var textureLoader = new THREE.TextureLoader(manager);
textureLoader.crossOrigin = 'anonymous';

var loader = new THREE.OBJLoader(manager);
loader.crossOrigin = 'anonymous';


see Texture Loader doesn't load?

You have to ensure that the web/content server sets CORS information in its response header.

BTW: The default value of TextureLoader.crossOrigin is already anonymous. There is no need to set it explicitly. Moreover, OBJLoader has no property crossOrigin.