Extending Galleria with options, custom thumbnails, HTML captions and a lightbox popup

You can use the data_config
option to define where to fetch the html caption for each image. This example will also bind a click event to each image and open a lightbox when clicked.
View source for comments and code.