You are not logged in.

1

Tuesday, July 15th 2014, 12:41pm

[Resolved] Dymanic viewe with Spherical panos

Hi,


I've a client who has 100+ spherical Pano's like this one: https://www.dropbox.com/s/w2yf2ui67zex74y/fb2.png

Is it possible to set up the viewer so we can pass in these raw, spherical images, and dynamically load them into a web page/iframe via a querystring/similar?

What i'm trying to achieve is minimal work for the client, so they can just add/upload a folder of images, I can generate an index with PHP, and pass in the appropriate image into the viewer for them to review online.

Thanks in advance for your help

This post has been edited 1 times, last edit by "jimbo" (Jul 16th 2014, 11:54am)


2

Tuesday, July 15th 2014, 12:47pm

Hi,

that would be only possible via Flash because spherical images aren't support in HTML5 for cross-browser/cross-device-support reasons.

See here the loading shortcut variables:
http://krpano.com/docu/quickref/#top

e.g. here an example direct krpano Flash viewer call with the image and some viewing settings:

Source code

1
krpano.swf?sphere=pano.jpg&view.hlookat=0&view.vlookat=0&view.fov=90


but the better would way would be using the embedding script:

Source code

1
embedpano({swf:"krpano.swf", xml:null, vars:{sphere:"pano.jpg","view.hlookat":0}, html5:"never", target:"pano-div"});


Best regards,
Klaus

3

Wednesday, July 16th 2014, 11:53am

Many thanks for your help, that worked a treat :)