You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.



  • "Riphur" started this thread

Posts: 37

Location: France, Lille

  • Send private message


Monday, March 30th 2020, 5:00pm

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 !


Tuesday, March 31st 2020, 5:30pm


please see here:

The .htaccess is for Apache web-servers, maybe you have a different one or another settings prevents that setting.

Inside krpano normally nothing need to be done or set, enabling CORS is not krpano related.

Best regards,