Skip to main content

Custom Hotspot Images

If you want to take your hotspots to the next level, you can create a skin for your hotspots and add custom hotspot images using Hotspot Templates and then add actions to them.

After you have added point hotspots in the Viewer, open the Skin Editor and follow the steps to add a custom image.

1. Add the custom image

  1. Open the Skin Editor.

  2. Click on the hotspot template button in the Toolbar and click in the Canvas to add a hotspot template.

    Click Hotspot Template Button

    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.

    This can be a JPEG, PNG, GIF (static) or SVG.

    Resize it if needed.

  4. Place the image on top of the hotspot template in the canvas.
    ✭ Turn on Snap to Guides to help placement.

    When you do this the image will become a child of the template.

    Image a child of template.

  5. 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 call up information added in the Hotspot Properties:

  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 template a descriptive name. This example could be called something like go_URL.

  3. Save the skin.

✭ To see a working example, check out one of the skin components called Web link. You could also simply 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 added to the hotspot template.

  1. Add the skin you’ve created to the project by choosing it in the Output properties.

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

  3. For the Skin-ID, choose the template ID you created in the previous steps.

  4. Output the project.

See also

2019-08-25 13:42:55