Lightbox

A built-in script for zooming photos to full screen, with keyboard and touch gesture support.

Lightbox Gallery

A built-in script for zooming photos to full screen.

<!-- The data-lightbox attribute activates the script -->
<!-- The data-gallery attribute groups photos into one gallery -->

<a href="large-photo-1.jpg" data-lightbox data-gallery="portfolio">
  <img src="thumbnail-1.jpg" alt="Photo 1">
</a>

<a href="large-photo-2.jpg" data-lightbox data-gallery="portfolio">
  <img src="thumbnail-2.jpg" alt="Photo 2">
</a>