🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

Pop Img is a super tiny jQuery plugin which enables you to enlarge the image in a modal-like responsive popup window on click.

image-lightbox image-zoom

Documentation

Pop Img

A simple jQuery plugin for poping imgs in articles without any additional css or image.

There are no settings in this plugin, so that making it much simpler, just 80 lines code.

Usage

$(".container img").popImg();

The effect is poping a half opacity layer fixed full of webpage, then show the target image in it's original size.

Click any area will close the img show. And you can press the ESC key to clear screen.

Attention: I set a very large z-index for layer and img.

Demo

click here -> http://demo-platform.github.io/pop-img/


You May Also Like