How can I display a bottom bar/banner in my tour?

  • You have to create the bar.png image and save it in your folder. My image was 4 pixels by 4 pixels. I believe you can use any size, but smaller is better: At least I think that is the case. The percentages in the plugin stretch it across.

    I just added that code to my test site and it worked for me.

  • I should have said that my custom img is a "banner" that would be displayed all across the bottom of my tour. I don't want single color. This banner would be totally customized... So my banner png has an width of 2000px.
    I created the img and put it at the folder, but not shows up :(

  • <krpano version="1.0.8">

    <view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="1.9" fovmax="120" />

    <hotspot name="nadir"
    url="images/nadir.png"
    keep="true"
    ath="0"
    atv="90"
    distorted="false"
    zoom="false"
    scale="1"
    rotate="0.0"
    rotatewithview="false"
    onclick="action(logo)"
    />
    <events onxmlcomplete=""
    onviewchange="if(hotspot[nadirlogo].rotatewithview, set(hotspot[nadirlogo].rotate,get(view.hlookat)) );"
    />

    <action name="logo">
    oninterrupt(break);
    set(autorotate.enabled,false);
    openurl(http://www.arte360.com.br,_blank);"
    </action>

    <plugin name="bar"
    url="bar.png"
    align="bottom"
    alpha=".4"
    x="0"
    y="0"
    height="10%"
    width="100%"
    keep="true"
    />


    <preview type="CUBESTRIP" url="IMG_0001 Panorama.tiles/preview.jpg" />

    <image type="CUBE" multires="true" tilesize="4000">
    <level tiledimagewidth="1800" tiledimageheight="1800">
    <left url="IMG_0001 Panorama.tiles/pano_l_%0v%0h.jpg" />
    <front url="IMG_0001 Panorama.tiles/pano_f_%0v%0h.jpg" />
    <right url="IMG_0001 Panorama.tiles/pano_r_%0v%0h.jpg" />
    <back url="IMG_0001 Panorama.tiles/pano_b_%0v%0h.jpg" />
    <up url="IMG_0001 Panorama.tiles/pano_u_%0v%0h.jpg" />
    <down url="IMG_0001 Panorama.tiles/pano_d_%0v%0h.jpg" />
    </level>
    </image>

    <plugin name="combobox"
    url="plugins/combobox.swf"
    align="lefttop"
    x="10"
    y="10"
    width="150"
    keep="true"
    />

    <action name="combobox:Party">
    loadpano(IMG_0001 Panorama.xml,null,MERGE,BLEND(1));
    </action>

    <action name="combobox:House">
    loadpano(IMG_0018 Panorama_equi.xml,null,MERGE,BLEND(1));
    </action>


    </krpano>

  • And if I want to insert a top banner should I insert this?
    with the plugin name bar2

    <plugin name="bar2"
    url="bar2.png"
    align="top"
    alpha="1"
    x="0"
    y="0"
    height="10%"
    width="100%"
    keep="true"
    />

Participate now!

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