swfaddress - Do not set pageurl in the address bar

  • Hello,
    I use a plugin swfaddress.
    Locally from a folder, everything works, but on the server we have problem. Do not set pageurl in the address bar.
    It seems to me that happens from the fact that there is a slash in before of pageurl.

    http://360test.mx/

    main.xml

    first.xml

    Code
    <krpano version="1.0.8">
      <image>
        <left  url="/public/panos/first/pano_l.jpg" />
        <front url="/public/panos/first/pano_f.jpg" />
        <right url="/public/panos/first/pano_r.jpg" />
        <back  url="/public/panos/first/pano_b.jpg" />
        <up    url="/public/panos/first/pano_u.jpg" />
        <down  url="/public/panos/first/pano_d.jpg" />
      </image>
    </krpano>

    second.xml

    Code
    <krpano version="1.0.8">
      <image>
        <left url="/public/panos/second/pano_l.jpg"/>
        <front url="/public/panos/second/pano_f.jpg"/>
        <right url="/public/panos/second/pano_r.jpg"/>
        <back url="/public/panos/second/pano_b.jpg"/>
        <up url="/public/panos/second/pano_u.jpg"/>
        <down url="/public/panos/second/pano_d.jpg"/>
      </image>
    </krpano>
  • If I remove the slashes, then get an error

    ERROR: download of "/public/xml/public/images/pano2.gif" failed
    ERROR: download of "/public/xml/public/flash/swfaddress.swf" failed
    ERROR: download of "/public/xml/public/images/pano1.gif" failed

Participate now!

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