How to properly embedd a pano image on localhost

  • Hi, i'm tryng to visualize a stereo image with krpano on my computer with a localhost but i don't understand what i'm doing wrong.
    This is the code of the web page:

    Code
    <script src="krpano.js"></script>
        <div id="pano">
            <script>  embedpano({xml:"scene.xml", target:"pano", html5:"always", mobilescale:1.0, passQueryParameters:true});      </script>
        </div>


    and this is the scene.xml

    Code
    <krpano>
    <scene name="scene1">
        <view hlookat="0" vlookat="0" fovtype="MFOV" fov="70" maxpixelzoom="2.0" fovmin="60" fovmax="140" limitview="auto" />
        <image stereo="true" stereoformat="TB">
           <sphere url="scene_01.jpg" />
        </image>
    </scene>
    </krpano>

    The web page is empty. I have tried many things, seeing the examples but i can't solve the problem.
    Thanks in advance!

    Edited once, last by micpap (October 25, 2017 at 6:28 PM).

Participate now!

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