Problem with generic class name "lightbox" and other themes and extensions
You are using the class name "lightbox" wich is also used by the "bootstrap_package" theme extension for instance. I would recommend to give it a more unique name, otherwise the gallery will not work with other JavaScripts that use the same class name.