javascriptjqueryhtmljquery-pluginsgalleriffic

How to include the image description when the lightbox is open for gallerificPlus


https://github.com/coldfumonkeh/gallerificPlus

I see that line 247 of gallerificPlus.js creates the divs & spans which add information to the lightbox.

I want to display a longer description for the image when the lightbox is opened.

I know I would likely have to add <span id="lightbox-image-details-description"></span> right after <span id="lightbox-image-details-caption"></span>. (line 247 of gallerificPLus.js)

But how would I get this new span to populate with the description?

I imagine that whatever steps were taken to populate content in <span id="lightbox-image-details-caption"></span> need to repeated in a similar manner to populate a span that I think I would need to add <span id="lightbox-image-details-caption"></span> with the description.


Solution

  • After getting in touch with the plugin author, he was able to make the necessary updates and updated the repository https://github.com/coldfumonkeh/gallerificPlus