Joomla plugin package
Every image deserves a closer look.
Chaos Loupe turns any image into a full lightbox — zoom, pan, galleries, watermark and all.
Add one attribute to an <img> (or let the editor button write it for you) and it becomes enlargeable: pinch-zoom and pan, fullscreen, grouped prev/next galleries with a thumbnail filmstrip, a site-wide or per-image watermark, smart clean-or-watermarked downloads, a print button, and a copy-link (or native share sheet) button. No external libraries, no build step.
See it live
Ready, set, click.
Not a screenshot — this is the actual plugin, running on this actual page. Click anything below: zoom, pan, flip through the group with the arrow keys, download it. Three of these six carry their own watermark credit instead of the site default, because per-image overrides are a feature, not just a line in the spec sheet above.


It did... with help.




Why it exists
Thumbnails hide the good part.
A 300px thumbnail in an article or gallery can't show brush strokes, exposure detail, or the fine print on a scanned document. The usual fix is either no zoom at all, or a lightbox plugin that drags in a framework, breaks on mobile, or can't be configured without touching code.
Chaos Loupe is a system plugin, not a module: enable it once, add one attribute to your images, and every enlarged view gets zoom, pan, galleries and watermarking — all configured from the plugin's own params, nothing to maintain per page.
What's in the box
Everything a lightbox should have.
Zoom & pan
Get right up close
Scroll, pinch, or button zoom up to a configurable max, with drag-to-pan once you're zoomed in.
Galleries
Built-in prev/next
Tag images with the same group attribute to get navigation, a thumbnail filmstrip, keyboard arrows, and slideshow play/pause for free.
Watermark
Site-wide, or per image
Set a text or logo watermark once for the whole site — or override it on a single image with its own text or logo.
Downloads
Smart format, every time
A watermarked (or WebP/AVIF) download is saved as JPEG when opaque or PNG when it has transparency — several times smaller, logos stay crisp.
Share & print
One tap, not three apps
A copy-link button that opens the native OS share sheet on mobile, plus a dedicated print button for a clean, distraction-free view.
Image info
EXIF, no extension needed
An info button surfaces available image metadata right in the viewer, with no extra markup.
SVG
Vectors just work
SVG images enlarge like any other format, with safe fallbacks for watermarking and print.
Per page
Settings that follow the page
Override any setting for one menu item or one category with a plain-text rule, so the press page can carry a watermark and the portfolio can stay clean.
Everywhere
Fullscreen, keyboard, touch
True fullscreen, full keyboard support, swipe to move through a gallery and swipe down to close, and a blurred backdrop that keeps the focus on the image.
Included in the package
Insert images without typing attributes.
The package installs a Chaos Loupe button below the article editor. Fill in a form, see the tag as you go, press Insert. Switch the button off any time in Plugins; the viewer doesn't need it.
Browse
Your Media Manager
Browse opens Joomla's own Media Manager in the folder you last used, with a lighter built-in picker one click away.
Galleries
Build a whole gallery
Add several images to a list, reorder them, edit or remove any, and insert them all with one shared group name.
Accessible
Alt text and captions
An alt field, an optional visible <figcaption>, a note when an image has neither, and captions prefilled from a JPEG's embedded title.
Per image
Watermark, your way
Site default, custom text, custom logo, or none for one image. Width, height and lazy loading are added for you so the page doesn't jump.
Where it earns its keep
Anywhere a thumbnail undersells the image.
Portfolios
Let the work actually be seen at full size.
Product galleries
Zoom on detail without a separate product-zoom plugin.
Documents & scans
Read the fine print without squinting at a thumbnail.
Press & media kits
Watermarked previews on screen, clean downloads when you want them.
For the technical crowd
Under the hood.
- Works with
- Joomla 5 and 6, PHP 8.2 or later, any template. No backward-compatibility plugins needed.
- Package
- One zip installs the viewer (system plugin) and the editor button. Installing over the separate plugins upgrades them in place and keeps your settings. Updates arrive through Joomla's own update screen.
- Dependencies
- None. Vanilla JS and CSS, no build step, no external requests.
- Markup
- One attribute on an
<img>(data-enlarge="true"); everything else — groups, captions, watermark overrides — is optional. - Downloads
- A watermarked or WebP/AVIF source is re-encoded as JPEG, or PNG if it has transparency. A clean JPG/PNG/GIF download is still the original file, untouched.
- SVG
- Works as a regular enlargeable image, with safe fallbacks for the watermark and print features.
- License
- GNU General Public License v2 or later.
Pairs well with
Built to work with ShrinkRay.
Image pipeline
ShrinkRay
Generates resized WebP and AVIF copies of your images server-side, on upload or in a batch. With its front-end rewrite on, ShrinkRay fills each Chaos Loupe image's zoom source and srcset from those copies automatically, and Chaos Loupe's smart download knows to re-encode them as a shareable JPEG or PNG on the way out. Neither one requires the other.
Training
For your writers.
Cheat sheet
Adding images with Chaos Loupe
A two-page PDF for the people who put pictures in articles. What each box in the Chaos Loupe popup does, how to build a gallery, a checklist to run before pressing Insert, and where a lost picture goes. Print it and keep it by the keyboard.
Ready for a closer look?
Want Chaos Loupe on your site? Take it, or let's talk.
Chaos Loupe
Changelog.
1.8.4
StableClicking the empty area around an enlarged image now closes the viewer. The bundled demo is redesigned to match this site, with a Back to top button.
Earlier releases
1.8.0 → 1.8.3Editor button
- 1.8.3: the Media Manager dialog opens wider (up to 1280×760).
- 1.8.2: fixed Browse showing the whole admin (sidebar and menus) inside the Media Manager dialog.
- 1.8.1: the popup has its own light and dark colors, so it reads correctly in Joomla's dark mode.
- 1.8.0: a note when an image has no alt text and no caption; a Copy tag button; the caption prefills from a JPEG's embedded title (IPTC), with an on/off switch; a hint on the zoom fields when ShrinkRay is installed.
1.7.0Editor popup restyle
- The popup is rebuilt: sections for Image, Zoom, Watermark and Gallery and size, a live tag preview, light and dark colors.
- Browse opens the Media Manager first, with the built-in picker as a fallback that remembers its folder and can add several images at once.
- Gallery builder: add several images to a list, reorder, edit, remove, one shared group name.
- New fields: alt text, an optional
<figure>with a visible<figcaption>, width and height with lazy loading. - Per-image watermark choice: site default, custom text, custom logo or none.
data-enlarge-watermark="none"turns the watermark off for one image in the viewer.
1.6.0Fixes
- Category override rules now work on article pages, not just category pages.
- The watermark image path no longer breaks when Joomla's media field adds a
#joomlaImage://suffix. - The bundled demo carries the current viewer. The editor button reads the viewer's attribute names even when the viewer is switched off.
- Override values are validated (numbers in range, hex colors, on/off words); anything else is ignored.
- Swipe down closes the viewer on touch screens. Twenty more settings can be overridden per menu item or category. Viewer CSS and JS also ship minified.
1.5.0Now a package
- The viewer and the editor button install together as one package,
pkg_chaosloupe. Installing over the separate plugins upgrades them in place, keeping settings and enabled state. - Joomla's update screen now offers new versions from this site. Supports Joomla 5 and 6.
1.4.2Smarter downloads
No change to markup or settings.
- A watermarked download, or any download whose source is WebP or AVIF, is drawn on a canvas and saved as JPEG when the image is opaque, or PNG when it has transparent pixels, instead of always PNG. Several times smaller for a typical photo; logos and cut-outs keep their transparency.
- A clean download of a JPG/PNG/GIF source is unaffected: still the original file, byte for byte.
1.1.2 → 1.4.1Rolled up — see note above
- Per-image watermark override: a specific image can carry its own text or logo watermark, independent of the site-wide Watermark tab.
- Native share sheet: the copy-link button opens the OS share sheet on devices that support it, falling back to copying the link.
- Print button: opens a distraction-free popup of just the image and triggers the browser's print dialog.
- Structured data: optional Schema.org
ImageObjectoutput for enlarged images, off by default. - SVG support: vector images work as regular enlargeable content, with safe fallbacks for watermark and print.
- Editor-button browsing: the companion editor-button plugin can list images under
images/through a small JSON endpoint, instead of only typing a path by hand.