Hi all
I don't get it to work as I would like it to...
Please see first my example to explain my idea:
Tour example
The starting panorama is a normal one.
The second and third panoramas are linked together over the button on the top right (Umschalten vorher / nachher)
The fourth panorama is again a normal one.
I would like to have only one preview image (thumb) for the second and third panorama on bottom center.
And when the button before/after is pressed the blue frame around the actual panorama should stay on the
same spot.
I tried so much but didn't had success.
Here the xmkl-file of the tour:
Code
<krpano version="1.16" title="Panoramabilder" onstart="startup();">
<include url="skin/vtourskin.xml" />
<!-- set optional skin logo url -->
<layer name="skin_logo" url="" scale="0.25" opened_onclick="openurl('...',_blank);" />
<action name="startup">
if(startscene === null, copy(startscene,scene[0].name));
loadscene(get(startscene), null, MERGE);
</action>
<scene name="scene_ascona" title="ascona" onstart="" thumburl="panos/ascona.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="1.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/ascona.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512" progressive="false">
<level tiledimagewidth="3724" tiledimageheight="3724">
<cube url="panos/ascona.tiles/l4_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="1862" tiledimageheight="1862">
<cube url="panos/ascona.tiles/l3_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="931" tiledimageheight="931">
<cube url="panos/ascona.tiles/l2_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="512" tiledimageheight="512">
<cube url="panos/ascona.tiles/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="panos/ascona.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
</scene>
<scene name="scene_klosters_01_1" title="klosters_01_1" onstart="" thumburl="panos/klosters_01_1.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="1.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/klosters_01_1.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512" progressive="false">
<level tiledimagewidth="3724" tiledimageheight="3724">
<cube url="panos/klosters_01_1.tiles/l4_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="1862" tiledimageheight="1862">
<cube url="panos/klosters_01_1.tiles/l3_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="931" tiledimageheight="931">
<cube url="panos/klosters_01_1.tiles/l2_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="512" tiledimageheight="512">
<cube url="panos/klosters_01_1.tiles/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="panos/klosters_01_1.tiles/mobile_%s.jpg" />
</mobile>
</image>
<layer name="transbutton" url="skin/button_v_n.png" scale="1.0" devices="desktop|tablet" align="righttop" x="10" y="10" onclick="loadscene(scene_klosters_01_2, null, MERGE|KEEPVIEW, BLEND(1));" />
<layer name="transbutton" url="skin/button_v_n.png" scale="1.6" devices="mobile" align="righttop" x="10" y="10" onclick="loadscene(scene_klosters_01_2, null, MERGE|KEEPVIEW, BLEND(1));" />
<!-- place your scene hotspots here -->
</scene>
<scene name="scene_klosters_01_2" title="klosters_01_2" onstart="" thumburl="panos/klosters_01_2.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/klosters_01_2.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512" progressive="false">
<level tiledimagewidth="3724" tiledimageheight="3724">
<cube url="panos/klosters_01_2.tiles/l4_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="1862" tiledimageheight="1862">
<cube url="panos/klosters_01_2.tiles/l3_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="931" tiledimageheight="931">
<cube url="panos/klosters_01_2.tiles/l2_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="512" tiledimageheight="512">
<cube url="panos/klosters_01_2.tiles/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="panos/klosters_01_2.tiles/mobile_%s.jpg" />
</mobile>
</image>
<layer name="transbutton" url="skin/button_v_n.png" scale="1.0" devices="desktop|tablet" align="righttop" x="10" y="10" onclick="loadscene(scene_klosters_01_1, null, MERGE|KEEPVIEW, BLEND(1));" />
<layer name="transbutton" url="skin/button_v_n.png" scale="1.6" devices="mobile" align="righttop" x="10" y="10" onclick="loadscene(scene_klosters_01_1, null, MERGE|KEEPVIEW, BLEND(1));" />
<!-- place your scene hotspots here -->
</scene>
<scene name="scene_klosters_03" title="klosters_03" onstart="" thumburl="panos/klosters_03.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="1.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/klosters_03.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512" progressive="false">
<level tiledimagewidth="2608" tiledimageheight="2608">
<cube url="panos/klosters_03.tiles/l3_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="1304" tiledimageheight="1304">
<cube url="panos/klosters_03.tiles/l2_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="652" tiledimageheight="652">
<cube url="panos/klosters_03.tiles/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="panos/klosters_03.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
</scene>
</krpano>
Display More
Hope there is somone with much better xml skills than me
Thanks for every little bit of help...
Peter