Image Popup

Magnific popup is nice tool that offers a nice way to add zooming functionality for images. The basic structure is given below

1. HTML code

<div class="gallery-img">
 <a href="img/portfolio/single-portfolio-img2.jpg" class="image-link">
 <div class="gallery-overlay-icon">
 <i class="tf-ion-android-search"></i>
 <img src="img/portfolio/single-portfolio-img2.jpg" alt="">

2. Js Code

 type: image  

image-link for popup and href image path is to popup the image.

know more about magnific popup setting in this link –

Improve this page on Github  — Last updated:  Tue, Dec 15, 2020