There are images inside <div>
tags. When one of the images is clicked, a modal appears to display information about the specific image. Each modal has a unique id or class, such as modal4.
My example:
<image type="image" src="Images/Drake.jpg" data-target="modal" data-toggle="#modal4" style="width:130px;height:140px;margin-left:10px;margin-bottom:10px"/> </a>
Here is the modal code:
<div class="modal" id="Modal4" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Aubrey Drake "Drizzy" Graham</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
</div>
</div>
</div>