---
title: How Does the Lightbox Work?
description: "Learn how the built-in lightbox feature works in galleries."
url: "https://lightsyncpro.com/docs/lightbox-feature/"
updated: "2026-06-05"
category: Gallery Block
---

# How Does the Lightbox Work?

The gallery block includes a built-in lightbox.

## How It Works

1. Visitor clicks any image in the gallery
2. Image opens in a fullscreen overlay
3. Arrow keys or swipe to navigate
4. Click outside or press ESC to close

## Features

- Keyboard navigation (← → ESC)
- Touch/swipe support on mobile
- Preloads adjacent images for fast navigation
