Website elementsMedia & showcase
Photo gallery
An image gallery with lightbox, built into your site with no plugin and no library. A grid of photos with optional category filter chips. A click opens the photo large in one native lightbox dialog with Previous / Next, the arrow keys, swipe, a “3 of 12” count and the caption, stepping only through what the filter shows. Without JavaScript every tile is a link to the large photo.
You'll need to give us
- The photos, each with a line saying what it showsNeeded to startFull-size originals; we make the smaller copies. The line becomes the alt text.
- The categories to filter by, and which photos go in eachTwo to six, in the words your customers use. Leave it out for no filter.
- Any captions to show under the photos
Send these with your request and we can start straight away. Everything else is ours to do.
Show off your work in a tidy grid that opens each photo full size, sorted the way your customers think.
Also called
UABB Photo Galleryphoto-galleryBeaver Builder GalleryPowerPack Image GalleryElementor GalleryEnvira GalleryFooGalleryNextGEN GalleryModulalightbox galleryfilterable galleryMagnific PopupFancybox
What it replaces
- UABB “Photo Gallery” module (Beaver Builder), filterable grid and lightbox
- Beaver Builder Gallery
- PowerPack Image Gallery
- Elementor Gallery
- Envira, FooGallery, NextGEN and Modula
- Magnific Popup and Fancybox lightboxes
Good for
A portfolio of jobs (aerial work, kitchens, gardens, events) of eight to forty photos, sorted into a few categories a customer would choose between.
Not for
One hero photo (an image), a before / after pair (before-after), videos (video-gallery), an Instagram feed (social-grid), or hundreds of photos (that is an album page with pagination). Not for photos the client has no rights to.
Accessibility
Written so the page works for every visitor, whether they browse with a mouse, a keyboard or a screen reader, and whether or not they have asked for less motion.
- A <ul role="list"> of figures; every image has alt text (the build refuses a photo nothing names), width and height, and loads lazily.
- Filter chips are a named group of aria-pressed buttons, “All” first; a polite status says how many show (“Scenic: 2 photos.”).
- Each tile is a real link to the large photo (aria-haspopup="dialog" once the lightbox works); Cmd/Ctrl-click still opens the file.
- Lightbox: a native modal <dialog> named by `label`: focus trapped, Escape closes, the page inert and not scrolling. Focus starts on the 44px close button and returns to the tile.
- Previous / Next are named 44px buttons; ← → step (mirrored right to left) and wrap; a polite status says “Photo 3 of 12” and the alt text. Swipe sideways steps, swipe down closes.
- Reduced motion: no fade, no hover zoom. Without JavaScript: every photo shows and links to its file.
Where it's live
- Aliya Hammond Consulting (pitch, aliyahammond.gohero.us): Portfolio: her four sections as filter chips, one lightbox
- superherotech.ai: /elements/photo-gallery/ (demo)
- LatLong UAS (rebuild at latlonguas.gohero.us, cutting over to latlonguas.com): Its Portfolio.astro, the Photography panel (filtered, 3/2)
How to ask for it
“The photo-gallery on our home page, with …”
Name it, say which page and which part of the page it goes on, and say what goes in it: your photos, your words, your colors. That is a complete request. We build it, you approve it, and it goes live. If you know it by another name, from WordPress or from another site, that works too.
More elements you can ask for: Before / After, Particle field, Mega menu, Video background, Parallax band, Scroll reveal, Business hours, News ticker, Flip box, Instagram feed, Accordion / FAQ, Card slider, Tabs, Info list, Video player, Testimonial carousel, Icon library, Animated text, Cookie consent, Animated background, Modal box, Announcement bar, Image hotspots, Info circle, Slide box, Countdown, Content toggle, Off-canvas panel, Video gallery, Map and directions, Link effects, Tabcordion, Tooltip, Responsive table, Notice, Toast, Loading, Menu button, Radio group, Stepper, Tags, Scrollbox, Sticker, Cart, Product list, Product page, Counter, Logo grid, Separator, Call to action, Image effects. Or see all of them working.
More in Media & showcase
See them all working- Image effects
Give your photos a moment of life when visitors point at them, scroll past them or land on your home page, without a slider plugin.
- Before / After
Show the old and the new in one frame, and let visitors drag to compare.
- Instagram feed
Your latest posts on your own site, from our copy of the images, so the grid does not go blank when Instagram changes its mind.
- Card slider
Show more reviews, team members or posts than fit across the page, and let visitors swipe or click through them.
Want the photo gallery on your site?
Tell us about the business. We build the site with it, launch it, and change it whenever you ask.