A lighterweight lightbox gallery module. A simple plugin supporting modern mobile and desktop browsers to minimize configuration and hacky code. Customizable., (*1)
See an example here., (*2)
Download lighterbox and reference it after jQuery., (*3)
<script src="/js/libs/jquery/jquery.lighterbox.js"></script>
Or load via synchronous or asynchronous module definition., (*4)
All basic styling is set in the JS, however it would be easy to override using the class selectors., (*5)
<a href="https://s3.amazonaws.com/hensonism-art/paul-gauguin/gaugin3.jpg" class="lighterbox"> <img src="https://s3.amazonaws.com/hensonism-art/paul-gauguin/thumbs/gaugin3.jpg" /> <h2 class="lighterbox-title">Painting by Paul Gaugin</h2> <span class="lighterbox-desc">Oil on Canvas</span> </a>
$(".lighterbox").lighterbox({ overlayColor : "white" });