Applies to Joomla 5.4 · Joomla 6 · PHP 8.1+ (Joomla 6 itself needs 8.3) · PX Hotspot 1.0.0 Released 13 Nov 2026

PX Hotspot is a free Joomla image hotspot extension for Joomla 5.4 and 6. You draw points, circles, rectangles and polygons on a picture – a floor plan, a product photo, a map – and each one opens text, an image, a gallery, a video or a Joomla article in a tooltip, a modal or a side panel. The image goes on the page with a module, or inside an article with {loadmoduleid}.

Why not a plain HTML image map?

Joomla has no hotspot tool of its own. The hand-made route is an HTML image map in the article source:

<!-- article HTML, edited in the editor's code view -->
<img src="/images/floorplan.png" usemap="#plan" alt="Floor plan" width="1600" height="1000">
<map name="plan">
  <area shape="rect" coords="1100,80,1520,440" href="/rooms/library" alt="Library">
</map>

That works until the page gets responsive. The coords are fixed pixels, measured on the full-size image, and the browser never scales them. When your template shrinks the picture to fit a phone, the areas stay where they were and point at the wrong room. An area is also only a link – no styled tooltip, no panel, no gallery – and nobody wants to measure coordinates by hand.

PX Hotspot stores every shape as fractions of the image. The same Library room in our demo floor plan is x 0.6875, y 0.08, width 0.2625, height 0.36, so it covers the same part of the picture at every width – and you draw it on the picture rather than typing numbers.

What you get in 1.0

PX Hotspot 1.0 features
PartWhat it does
ShapesPoints, circles, rectangles and polygons (3 to 100 corners), up to 200 hotspots per image
MarkersSix built-in icons, about 2,000 Font Awesome 6 Free icons or your own picture; colour, size and pulse / bounce / glow / heartbeat animations (off for visitors who prefer reduced motion)
ContentHeading, rich text, image and a button; a Joomla article (intro or full text, with its access level, language and publish dates respected); a gallery of up to 20 pictures; a YouTube, Vimeo or MP4 / WebM video
DisplayTooltip, modal or side panel per hotspot, opened on click or hover; on phones a bottom sheet, a modal or the same as desktop
Image optionsLabels on the image with a hide button, zoom (buttons, pinch, Ctrl + wheel), smaller markers on phones, lazy loading
EditorDraw, drag and resize on the image, edit polygon corners, zoom and pan, duplicate, keyboard shortcuts, replace the background, Preview
PX Hotspot editor in the Joomla administrator: a floor plan with rectangle areas, the Library hotspot selected and its display mode set to Side panel
The editor: draw on the image, then set the content and how it opens for each hotspot

Background pictures are JPG, PNG or WebP (no SVG). YouTube and Vimeo load only when the visitor presses Play – YouTube from its no-cookie address – and every hotspot is a real button that works with the keyboard and screen readers.

Which display for which job

How a hotspot opens decides whether visitors read it or close it, and it is set per hotspot. These are the seven pages of our live demo, each built for a different case:

The seven demo pages and why each is set up that way
UseSetupWhy
City walking mapFont Awesome pins and areas; tooltips (some on hover), modals for the full card; labels on; zoomMany places close together: a quick tooltip to scan, a modal when there is more to read
Floor planRectangle and polygon rooms, side panelThe plan stays visible while the visitor reads about the room
Restaurant menuCircle areas that open on hoverShort content (a dish and its price) – hovering is faster than clicking; phones tap
Market stallAreas and a free polygon, bottom sheet on phones, half-size markerOn a small screen a tooltip would cover the photo
Bookshop tourBuilt-in icons with animations, one hotspot shows a Joomla articleText you already maintain as an article isn't copied into the hotspot
Stadium guideAreas on a night photo, video in a left side panel, zoom on phones onlyVideo needs room; zoom only where the picture gets small
Video and sliderMP4 with a poster, YouTube, Vimeo, sliders in a modal, a panel and a tooltipEvery media type side by side

A rule of thumb from building these: hover only for short content (a line or two, maybe a photo), a side panel when the visitor compares several hotspots, a modal for galleries and long text. Don't crowd point markers: on a phone they keep their full size by default, so points that sit close together overlap. Use areas there, or set the markers to 75% or 50% on small screens.

Put it on a page or inside an article

An interactive image is shown by the PX Hotspot module. In Content » Site Modules » New » PX Hotspot, select the image (or create one in the popup), pick a position and publish. To place it in the middle of an article, give the module no position, keep it published and assigned to the pages where the article shows, and write:

<!-- in the article text; 123 is the module ID -->
{loadmoduleid 123}

That is Joomla's own Content - Load Modules plugin (it must be enabled, or the tag shows as plain text), so PX Hotspot needs no plugin of its own. Several images on one page work independently, and the scripts and styles load only on pages that show one. Interactive images have Joomla's access levels, languages and publishing state, and the component uses Joomla's create / edit / edit own / edit state / delete permissions.

For developers and AI agents

Every save is checked on the server: shapes must lie inside the picture, rich text goes through Joomla's text filters and javascript: links are refused. The package also ships administrator/components/com_pxhotspot/AI.md, a guide that tells an AI agent – or you – how to create, copy and delete interactive images, hotspots and modules from a PHP script using PX Hotspot's own classes, with the same checks as the editor. It has two complete examples, so a long list of points can be scripted instead of drawn.

If what you need is a real map with layers rather than points on a picture, that is PX Atlas, our free maps extension for OpenStreetMap and Google Maps.

Install

  1. Requirements: Joomla 5.4 or 6, PHP 8.1 or later (Joomla 6 itself needs PHP 8.3), MySQL or MariaDB.
  2. Download pkg_pxhotspot-1.0.0.zip from the PX Hotspot page – a free thepixel.dev account is enough.
  3. Upload it in System » Install » Extensions. The package installs the component and the module.
  4. Go to Components » PX Hotspot, click New, choose a background picture, draw your first hotspot, Save and Preview.
  5. Show it with the module or {loadmoduleid} as above.

Every screen is covered in the PX Hotspot documentation. Need something the module doesn't do – hotspots fed from your own data, say? That's our custom extension development work. For page sections around the image, see Joomla content blocks without a page builder; for a whole Joomla 6 site built from modules like this one, the free PX Base starter template.