Image description in gallery

Create issue
Issue #52 open
Former user created an issue

Hello, I've tried many lightbox versions and Superbox is my favorite.

Is there a way to include descriptive text within the window? I'm specifically looking to have a description continue through an entire gallery of photos. Thank you!

Comments (1)

  1. Pierre Bertet repo owner
    • changed status to open

    Yes, it’s an option I definitely have to add to SuperBox:

    You can try to do it yourself with the wait(), open() and close() methods (available in dev version).

    A quick (untested!) example, HTML5 flavor ;-)

      // When the image is loaded:
          <img src="image_src.jpg" alt="Alternative text">\
          <figcaption>Your caption.</figcaption>\
        </figure>', {
        // SuperBox! settings
  2. Log in to comment