Multires Hotspot loading images

  • Hi,

    seems a simple task. On a multires pano, click on a hotspot should open a .png in the middle of the screen. A click on the image should close it.
    But no image shows up *huh*


    any ideas?

    thanks…


    <hotspot name="mySpot" style="" url="png/icon_shadow.png" ath="-0.111" atv="-0.066" edge="bottom"
    onclick="action(show_image,mySpot,png/dummy.png);"
    />

    <action name="show_image">
    set(plugin[showHotspotImage].parent,hotspot[%1]);
    set(plugin[showHotspotImage].url,%2);
    </action>

    <plugin name="showHotspotImage"
    url= ""
    parent=""
    align="center"
    edge="center"
    x="0" y="0"
    />

  • der Pfad ist richtig. Nur das Bild wird nicht geladen.

    ERROR: plugin(showHotspotImage) - loading of 'png/dummy.png" failed!

    Langsam frage ich mich ob dieser Weg überhaupt so gehen kann. Wenn ich im plugin die URL direkt eingebe erscheint das Bild so wie es soll, also Pfad korrekt. Es muss doch einen Weg geben dies zu vereinfachen oder muss ich für jeden hotspot ein plugin anlegen?

    Für jede Anregung dankbar…

    Uli

  • Nachtrag:
    NUR im VTour Editor habe ich den Fehler. In der Tour selber funktioniert alles wie es soll.

    Jetzt brauche ich nur noch eine Idee dieses geladene Bild wieder zu schließen, dann wäre ich schon sehr zufrieden

    Trotzdem, Frage warum das im Editor nicht funktioniert

    Danke für erhellende Hinweise…
    Uli

Participate now!

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