Image hotspots not showing

  • Hi all
    I am trying to create a virtual tour but I am a bit of a newbie.
    I am doing ok but when I use image hotspots the don't show in my pano.
    Polygonal hotspots work fine, it is just image hotspots I am having trouble with.
    Here is the code;

    Code
    <hotspot name="hotspot1"
    			url="hotspots/hotspot1.png"
    			ath="0"
    			atv="0"
    			scale="1"
    			zoom="true"
    			onhover="showtext(load next pano);"
    			onclick="loadpano(pano2.xml);"
    			/>


    Thank you, David.

  • Hi,

    Seems to be a Path problem... *sad*

    Look at this post from KLAUS about paths inside the xml file: Problem on changing URL of a plugin

    Try to use %SWFPATH% "placeholder" in your url: url="%SWFPATH%/PathToYourHotspot/hotspot1.png"

    Code
    <hotspot name="hotspot1"
    url="%SWFPATH%/hotspots/hotspot1.png"
    ath="0"
    atv="0"
    scale="1"
    zoom="true"
    onhover="showtext(load next pano);"
    onclick="loadpano(pano2.xml);"
    />

    Salut.

  • Thank you for your reply but unfortunatly that does not solve the problem.
    Here is the full code;


    Sorry to be a pain. Thank you for your help.

  • Hi,

    the code is absolutely okay

    are you maybe using a krpano.swf from version 1.0.6? (press the 'O' key in the viewer to see the version)
    e.g. it is still included in the 1.0.6.1 tools download package!

    the <hotspot> functionality was introduced in version 1.0.7,

    best regards,
    Klaus

Participate now!

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