Niq's OA Resources

Lightbox

This is a basic square gallery, using CSS, and a div that dynamically stays square, and sets the image as the background image, cover image. These are wrapped in the anchor tag to active the lightbox. This way you can have either a different image for the thumbnail, or a compressed thumnail.

I put the hvr-shrink effect on to show hover (I recommend that, hvr-grow, highlight, or your own manual hover effect), but it functions fine without that class.

This goes at the top of the page in the html
The HTML for the gallery
The styling for make this function (I like having it at the bottom of the page)