External ressources ( CORS ) step by step

  • Hi everyone,


    After several attempts, I cannot use resources (image or xml) from another domain.
    I looked on the KrPano forum on the use of CORS, but without success.
    Could someone present step by step actions to allow loading from another domain?


    In my test, I put the vtourskin.png file on a domain "B" and the rest of the project on the domain "A".
    I put an htaccess with Header set Access-Control-Allow-Origin "*" in the directory of the remote server domain "B".
    I put in my "tour.xml" <security cors = ""> </security> on my domain "A"

    Thank you !

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!