Editing image popup style with Neto skin?

Q&A about the latest versions
Post Reply
JNewberry
Posts: 74
Joined: Tue Nov 05, 2013 6:03 pm
Location: Los Angeles, California
Contact:

I'm using point hotspots set to "image" type, with Neto skin (P2VR 7 beta 4a). So camera icons show, and clicking on them reveals a popup, with light gray background and "x" to close popup.

However, I prefer the way the image hotspot works--image popup shows no border/background, and you can close it by clicking anywhere on the image (instead of clicking on "x"). But with image hotspots, instead of an icon before clicking, you see the image (perspective adjustable).

I would like a combination of the two styles: camera icon shows in tour (not popup image), and upon clicking on it you see 100% popup, without background or "x", and clicking anywhere on image will close it.

Any suggestions on how to do this would be appreciated. I've poked around in the skin, and found the ht_image elements, and media_popup elements, but not sure how to proceed.
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi,

It's certainly possible but you will have to make some modifications to the skin.

1. You will need to add a new component to the controls_container > controls_left_container > content-buttons ie btn_image
2. Use the camera image from the ht_image element
3. Modify the Action in the controls_left_container to accommodate the new element
4. Add a variable to control its visibility when you have an image on that node you want to display
5. Add a draw image that has the an Action to close it
6. Add an Action to the draw image that closes it.
7. Add an Action to the new element that loads the image you want to display.

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
Post Reply