Thumbnail label

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Button Button

Thumbnail label

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Button Button

Thumbnail label

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Button Button

Lightbox functionality is enabled by the Magnific Popup plugin. A custom build has been created that will only handle images. If you need more functionality that this plugin can provide, please build your own using their Build Tool.

To use, insert <script src="/assets/js/magnific-popup.min.js"></script> at the end of your footer, after jQuery.

First, instantiate the lightbox by adding the .thumbnail-lightbox class to an HTML element.

<a href="../img/bryantdenny01_1920.jpg" class="thumbnail thumbnail-lightbox" title="The First Caption">
	<img src="../img/bryantdenny01_1920.jpg" class="img-responsive" />
	</a>
	

Next, you should initialize the popup with jQuery. Use the gallery:{enabled:true} option if images are part of a gallery.

$( '.thumbnail-lightbox' ).magnificPopup({type:'image'});
	

HTML

<div class="row">
<div class="col-md-4">
	<a href="../img/bryantdenny01_1920.jpg" class="thumbnail thumbnail-lightbox" title="The First Caption">
		<img src="../img/bryantdenny01_1920.jpg" class="img-responsive" />
	</a>
</div> <!-- .col-md-4 -->

<div class="col-md-4">
	<a href="../img/gorgaslibrary01_1920.jpg" class="thumbnail thumbnail-lightbox" title="The Second Caption">
		<img src="../img/gorgaslibrary01_1920.jpg" class="img-responsive" />
	</a>
</div> <!-- .col-md-4 -->

<div class="col-md-4">
	<a href="../img/presidentsmansion01_1920.jpg" class="thumbnail thumbnail-lightbox" title="The Third Caption">
		<img src="../img/presidentsmansion01_1920.jpg" class="img-responsive" />
	</a>
</div> <!-- .col-md-4 -->
</div> <!-- .row -->

JavaScript

$( '.thumbnail-lightbox' ).magnificPopup({
	gallery : {
		enabled: true
	},
	type:'image'
});