Skip to main content

Image With Hotspots

Live preview of the Image With Hotspots element in the Salient WordPress theme. Sample content, for demonstration only.

Image With Hotspots turns a picture into something a visitor can explore. Markers sit on top of the image, each opening a tooltip of its own. It suits anything where the picture is the explanation: parts of a product, rooms on a floor plan, features on a screenshot.

Each hotspot is a child element, so a tooltip can hold formatted text and links rather than a bare string.

Positioning the markers​

The Preview field in the element's settings shows the image with its markers on it. Drag a marker to move it; its position is stored as a percentage of the image, so it stays put as the image scales down on smaller screens.

Settings​

  • Image Media The picture the markers sit on.
  • Hotspot Icon Choice Plus Sign for a neutral marker, or Numerical to number them in order, which is right when the tooltips read as a sequence.
  • Color Choice The marker color, from the theme palette.
  • Tooltip Functionality Choice Show On Hover, Show On Click or Always Show. Choose Show On Click if the tooltips matter on phones, where there is no hover.
  • Tooltip Shadow Choice A drop shadow behind the tooltip, for busy images where it would otherwise be hard to read.
Always Show on a quiet image

Always Show turns the element into an annotated diagram rather than something to explore, which is often what a documentation-style image wants. It needs an image with enough empty space for the tooltips to sit in.