Responsive-Lightbox
Responsive-Lightbox copied to clipboard
refresh / destroy
To make this plugin a little more dynamic, simple setup refresh / destroy methods might be usefull.
Usecase: dynamically added DOM elements with new lightbox/gallery images. I haven't tested this, but from what I can ready in the code, adding images to an existing gallery and re-initializing it will cause duplicate event handlers to fire on img click.
Refresh and destroy methods would be really great.