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

GLightbox image lightbox 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, at a version bernard pins and only ever moves forward.

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 GLightbox image lightbox?
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 GLightbox image lightbox safe on my site?
bernard admits it only from its own published address, with its settings written as plain data rather than code, at a version bernard pins and only ever moves forward. 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