Sometimes I want to embed a gallery inside a bootstrap collapsible paragraph, but Fotorama doesn’t work inside bootstrap collapsible shortcodes. I stumbled into this great jQuery lightGallery and I manage to get it to work inside the bootstrap collapsible shortcodes. To extensively use this lightGallery, you do need support from the owner. I just use this for simple Gallery display.
Since I don’t want to load too many scripts on my website, they tend to slow down the page load, so I create shortcodes to load these lightGallery scripts and use them only when needed.