You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Tuesday, April 7th 2015, 7:59pm

display an image on my tour only when in a particular scene

Hello colleagues , I need to display an image on my tour only when in a particular scene, as do that ?.

For example , if I'm in the scene 1 , shows the image 1 .



Posts: 3,173

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message


Tuesday, April 7th 2015, 9:53pm

You can try

Source code

if(scene[get(xml.scene)].name == scene_1, showpic());

Showpic is an action in this case.
You could replace it with something like set(layer[pic].visible, true);
Or what ever.
Hope it helps

Tuur *thumbsup*


Monday, April 13th 2015, 3:03pm


you could also just define that image only inside that scene - or - use the onstart event of that scene to display it via code...

Best regards,