> For the complete documentation index, see [llms.txt](https://sbscripts.gitbook.io/sb-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sbscripts.gitbook.io/sb-scripts/sb-city-hall/sb-cards/photos.md).

# Photos

Each card shows a transparent native headshot of the person presenting it. It's generated live on each viewer's client, shown through `https://nui-img/`, and released when the card closes. Nothing is stored. The card appears straight away, and the photo fades in when it's ready.

### If photos stop appearing

Set `Config.Debug = true` and run `/sbcards_headshot` in the F8 console. A high "handles already valid" count means another resource isn't releasing its headshots. A full game restart clears leftovers. The resource that's leaking needs to call `UnregisterPedheadshot`.

### Other notes

* ESC closes the card without opening the pause menu. The player never loses control.
* Card photos need OneSync, as noted in Installation.
