A magnifying glass held over a trail of footprints, one print enlarged under the lens
Trusted third parties1 min read

Embed GLightbox image lightbox on my site

GLightbox makes a photo open full screen over the page when someone clicks it, with arrows to move through a gallery. It is the effect people expect from a portfolio or a product gallery.

The prompt

“Make the photos in the Gallery open full screen when someone clicks them, with arrows between them.”

Signed in, Get my prompt fills in your site for you. Otherwise press Copy and fill in the [bracketed] parts. First time? Connect your AI to bernard once: Use your own AI (opens in a new tab).

Ask your AI

Make the photos in the Gallery open full screen when someone clicks them, with arrows between them.

What bernard checks

The GLightbox image lightbox tool is on bernard’s permitted list. Someone read the maker’s own instructions (https://github.com/biati-digital/glightbox) on 2026-09-14 and decided it was safe to run on a customer’s site: Pinned to the npm package on jsdelivr, not the gh/ mirror the README shows, so the version floor means something. lightboxHTML, slideHTML and svg all accept raw markup and are refused. Your site loads it from its published package, version 3.3.1 or newer. Every week bernard checks which version each of your pages loads against the published list of known weaknesses, and moves a page forward when one is found.

Your AI writes the exact tag bernard permits, on a private preview. You look at it and approve it before anything goes live.

People search for this as: lightbox, gallery, photos, full screen, slideshow, portfolio.

For the full list of libraries, what is waiting, and how to ask for one that is not there, see Embed a calendar, a diagram, a chart or another tool on my site.

Questions people ask

Do I need to write any code to use the GLightbox image lightbox tool?
No. Your AI writes the exact tag bernard permits and puts it on a preview. You approve it before it goes live, and pasted code is removed for safety every time.
Is the GLightbox image lightbox tool safe on my site?
bernard admits it only from its own published address, with its settings written as plain data rather than code. Every week bernard checks which version each of your pages loads against the published list of known weaknesses, and moves a page forward when one is found. Nothing else about it can be changed from a page.
Can I change it later?
Yes. Say what you want different and your AI redoes it on a preview for you to approve. Nothing about it is baked in.

Next