Add support to load an action toolbar along the image. Say, binding a DOM element to the footer. This will allow us to use lightbox for letting a user run actions on images with a single handler interface.
For example, add the following to options:
lightbox.option({
toolbar: '.lightbox.toolbar'
})
And there is a DIV somewhere in the body that produces a toolbar:
Add support to load an action toolbar along the image. Say, binding a DOM element to the footer. This will allow us to use lightbox for letting a user run actions on images with a single handler interface.
For example, add the following to options:
And there is a
DIV
somewhere in the body that produces a toolbar:where the handlers themselves can be added this way:
Note: Am not a front-end guy, so there may be a better way to structure the code than above.