# Popular Lightbox Setups

## Featured Photos + View All Button

This UX consists of;

* A limited number of featured item thumbnails
* A button to view all images
* Clicking any of the thumbnails, or the button, invokes the lightbox which shows a much larger number of images

<figure><img src="/files/mzEVzySM1QikohzHDt1A" alt=""><figcaption></figcaption></figure>

The implementation for this can take many approaches.  Here we're going for a CMS-driven gallery where the entire gallery, including the featured items and captions, are sourced from a single multi-image field in the CMS.&#x20;

*Here we'll walk through the basics of the design approach, and how you can build this on your site.*

{% embed url="<https://www.loom.com/share/53396f7c0f71445b86eab845f94f98a8>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://attr.sygnal.com/sa5-elements/lightbox/cms-and-lightbox-+-captions/popular-lightbox-setups.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
