Magnific-Popup is a responsive lightbox.
I modified the zoom-gallery.js to idoggallery.js using class=”idoggallery” for easy to remember. For image with no links use “igallery” and title only.
Use “title” and “mylink” on href to display caption and create a link…
<div class="idoggallery">
<p style="text-align: center;"><a class="preview" title="macOS Sierra On Windows Laptops" href="https://www.dognmonkey.com/mythemes/wp-content/uploads/z_macOS_Sierra.jpg" mylink="//www.dognmonkey.com/techs/macos-sierra-on-mac-wanna-be-windows-laptops.html"><img class="alignnone size-thumbnail wp-image-6013" src="//www.dognmonkey.com/techs/wp-content/uploads/z_macOS_Sierra-200x112.jpg" alt="macOS Sierra On HP Windows Laptop" width="200" height="112" /></a>