[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

    Edited once, last by jimbo (July 16, 2014 at 11:54 AM).

  • 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:
    https://krpano.com/docu/quickref/#top

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

    Code
    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:

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

    Best regards,
    Klaus

Participate now!

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