Displaying still image from floorplan marker

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
PLaine
Posts: 45
Joined: Thu Jun 15, 2017 3:56 pm

Displaying still image from floorplan marker

Post by PLaine » Wed Jan 08, 2020 7:18 pm

Hello,

I didn't find a way to display a still image (centered in the panorama) by clicking on a marker in the floorplan. I must display this image but it's not a panorama and the quality doesn't allow a fullscreen display.

Any idea of which way to go?

Thanks,

Philippe

User avatar
Hopki
Gnome
Posts: 9796
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Displaying still image from floorplan marker

Post by Hopki » Wed Jan 08, 2020 9:37 pm

Hi Philippe,
This would be easy to do if you add the floorplan directly to the skin editor.
You can then add the action to each map pin to open a popup.

What I would do is add all the popup images as assets, this can be found at the bottom of the HTML5 output.
When you create the output the images will be put into a subfolder called assets. So the path to an image would be "assets/image_name.jpg".

I would then use an external image loader to display the images.
The map pin would have the actions:
• mouse click, set value, value: assets/image.jpg, external image loader
• mouse click, show element, external image loader
The close button would just need a hide external image loader action.

Replace image.jpg with one from your images.
Regards,
Hopki

PLaine
Posts: 45
Joined: Thu Jun 15, 2017 3:56 pm

Re: Displaying still image from floorplan marker

Post by PLaine » Wed Jan 08, 2020 10:13 pm

Hello Hopki,

Thanks for your fast response.
Yes indeed, it's a good workaround. I've just tried it and it works.
I've only to continue with the second stage, hopping that it will be as easy than with floorplan tool.

Best regards

Philippe

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests