A selection of demos, view the source code for the full code.
Popup.js was intentionally created without a built-in gallery, but flexible enough to be extended and create one if need be.
Here is an example gallery. (Which, when minified and gzipped, is still only ~2.15kb WITH popup.js!)Image 1