photoswipe-dynamic-caption-plugin

A caption plugin for PhotoSwipe v5+ that smartly positions it aside or below the image.

photoswipecaption

https://github.com/dimsemenov/photoswipe-dynamic-caption-plugin#readme