Pano2VR 7.1 Docs / Create a Custom Hotspot Image

Custom Hotspot Images

Each hotspot can have its own image. The custom hotspot image can be added in the skin to affect all hotspots using hotspot templates. Or you can add a custom image to individual hotspots.

Add an individual custom hotspot image

If your tour is small or you just need to apply a different image to a hotspot, you can add a custom hotspot image without editing or applying a skin.

  1. Add a point hotspot.

  2. Choose a hotspot type.

  3. Choose an image for Custom Image by clicking the folder icon. Once the image is selected you can choose to have the image 3D distorted so that it distorts with the panorama. Or if you don’t choose 3D distorted, you can change the image’s size.

★ Tip  SVG and GIF image formats are also supported.

Add custom images to hotspots globally

Pano2VR uses default Skin-IDs to connect point hotspots to hotspot templates. For example, a URL type point hotspot will be assigned the Skin-ID, ht_url by default and connects to the hotspot template that has the ID, ht_url.

Alternatively, you can use a built-in hotspot component and swap out the icon.

1. Add the custom image

  1. Open the Skin Editor.

  2. Click, Add hotspot template in the Toolbar and click in the Canvas to add a hotspot template.

    Point Hotspot Template
    Point Hotspot Template

    This template acts as a placeholder and affects only point hotspots. The crosshair image will not be visible in the skin. You can place the template anywhere, as its placement in the skin is arbitrary.

  3. Add the hotspot image or icon. Use the Add Image button or Add SVG button.

    This can be a JPEG, PNG, GIF, APNG, or SVG.

    Resize it if needed.

  4. In the Tree, drag the image on top of the hotspot template. When you do this the image will become a child of the template.

    Image is a child of the hotspot template.
    Image is a child of the hotspot template.

  5. Position the image by choosing Center for the Anchor and then double-click on the word, Position. This will center the icon directly over the hotpot template.

  6. In the Appearance panel, select Hand Cursor. (optional) This will change the mouse cursor to a hand, indicating the icon is clickable.

2. Add actions for interactivity

Add actions to the hotspot template to have it open a webpage.

  1. Select the image and go to its Actions panel. Add the following action for opening a webpage:

    • Source = Mouse Click
    • Action = Go To URL
    • URL = $(hu) (This placeholder will call up the information added to the Link Target URL in the hotspot properties.)
    • Target = $(ht) (This placeholder will call up the information added to the Target field in the hotspot properties.)
  2. Give the hotspot template the ID, ht_url, for example. This is the default Skin-ID for URL type point hotspots and will be applied by default to all URL point hotspots. Alternatively, give the hotspot template any ID and make sure to choose this from list of Skin-IDs for the point hotspot.

  3. Save the skin.

★ Tip  To see a working example, check out one of the skin components or any of the built-in skins. You could also use this component and swap out the image by selecting the existing image and in its properties, click Change.

3. Connect the Hotspots to the Skin

The final step is to make sure the hotspots are linked to the Hotspot Templates in the skin. This is so that the hotspots inherit the icon/image and actions added to the hotspot template.

  1. Add the skin to the project by selecting it in the Output properties.

  2. In, the Viewer, select a hotspot to open its properties.

  3. Choose URL as the hotspot type.

  4. For the Skin-ID, ht_url is added by default. If you used a different ID, select it from the menu.

  5. Output the project.

See also…

Last modified: Aug 24, 2023