Image Hotspots docs

JSON import and export

In the Hotspot builder, Pro "Import / export" downloads the current image as JSON and reads a file back in. Import replaces the dots and settings on that image, and nothing is saved until you press Update. The picture must be in this site's Media Library.

  • Files must be under 1 MB.
  • Every field is cleaned exactly like a normal save.
  • Moving between sites: choose the image again after importing, then Update.

Updated 29 Nov 2026 · Tested with Image Hotspots 1.0.0 · By SpotThemes

In the Hotspot builder, Pro "Import / export": Export JSON downloads the current set. Import JSON reads a file under 1 MB and replaces the dots and settings on that image ("Replace everything on this hotspot image with the file?"). Nothing is saved until Update. Every field is cleaned exactly like a normal save.

Shape of the file

{
  "spotthemes_hotspots": 1,
  "exported": "2026-11-29T10:00:00.000Z",
  "title": "Living room",
  "image": "https://example.com/wp-content/uploads/room.jpg",
  "data": {
    "image_id": 412,
    "theme": "light",
    "layout": "popover",
    "spots": [
      { "x": 22.5, "y": 61, "title": "Linen sofa", "html": "Three seats, washable covers.", "url": "https://example.com/sofa/" },
      { "x": 70.25, "y": 38.4, "title": "Floor lamp", "html": "", "url": "", "product_id": 1234 },
      { "x": 48, "y": 80, "title": "Plot 7", "html": "420 m2", "url": "", "status": "reserved",
        "area": { "t": "rect", "p": [40, 72, 56, 88] } }
    ]
  }
}
  • spotthemes_hotspots and data are required, or the import says "This is not a SpotThemes hotspots file."
  • image_id must be an image in this site's Media Library. If it is not, the import says "The picture is not on this site: choose it again."
  • exported, title and image are information only.
  • Field list: the dot fields page.

See it working on the Image Hotspots page, or compare plans on Pricing.

  • Dots, cards, areas and layoutsEvery Image Hotspots setting per image and per dot: position, card text, link, WooCommerce product, status, floors, shape areas and which layout fits which job.
  • Show hotspots: block, shortcode, Elementor and settingsShow a hotspot image with the block, [spotthemes_hotspots id="123"] or Elementor, and how cards open on desktop, phones and keyboards.
  • TroubleshootingEvery message Image Hotspots and Hotspots Pro show and what to do: dots in the wrong place, product card missing, JSON import errors, Pro key, cache.

Was this missing something? Email support@spotthemes.com