# Overlay captions in Starterkit album lightbox?

**URL:** <https://forum.getkirby.com/t/overlay-captions-in-starterkit-album-lightbox/21588>\
**Category:** Questions\
**Tags:** v3\
**Created:** [March 13, 2021, 10:10am UTC](https://forum.getkirby.com/t/overlay-captions-in-starterkit-album-lightbox/21588 "2021-03-13T10:10:21Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [June 20, 2021, 7:05am UTC](https://forum.getkirby.com/t/overlay-captions-in-starterkit-album-lightbox/21588/7 "2021-06-20T07:05:56Z")

</div>

Maybe use the script from the [getkirby.com](http://getkirby.com) repo instead, it has a built-in prev-next option that you can use by passing a group name to the thumbs, e.g. `data-lightbox="gallery"`.

You can find the unminified original code of the lightbox scripts in the [getkirby.com](http://getkirby.com) repo if you want to build on it:

> <https://github.com/getkirby/getkirby.com/blob/main/assets/js/components/lightbox.js>

Edit: I thought both scripts were identical, but they are not.

This seems to be the script used in the Starterkit (doesn’t look as if there was a lot to modify).

> **[electerious/basicLightbox](https://github.com/electerious/basicLightbox)**
>
> The lightest lightbox ever made. Contribute to electerious/basicLightbox development by creating an account on GitHub.

If you need more control or features, maybe a different lightbox library would be a better option.

---

_[View the full topic](https://forum.getkirby.com/t/overlay-captions-in-starterkit-album-lightbox/21588)._
