[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

    Einmal editiert, zuletzt von jimbo (16. Juli 2014 um 11:54)

  • 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

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!