Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
GeoPal
Experienced
Topic Author
Posts: 227
Joined: 20 Dec 2007, 12:56

Loading external panoramas

21 Sep 2018, 06:24

Hello,
Though Karl is preparing an amazing X3 pano plugin, for those storing panos on a server other than the one the website is, they might have problems with loading the panorama into iframe or popup. After a lot of fiddling, I came to a solution- writing to .htaccess this code:
Code
Header set Access-Control-Allow-Origin "*"
Header unset X-Frame-Options
Header always set X-Frame-Options "ALLOW-FROM http://yoursite.com/"
I load krpano generated flat panorama from remote hosting in modal popup window and looks like this:
http://panomagic.eu/gigapixel/Brasov/

Hope this helps someone :)
Best, G