<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Lightbox</title>
<style>
.zoomify {
cursor: pointer;
cursor: -webkit-zoom-in;
cursor: zoom-in
}
.zoomify.zoomed {
cursor: -webkit-zoom-out;
cursor: zoom-out;
padding: 0;
margin: 0;
border: none;
border-radius: 0;
box-shadow: none;
position: relative;
z-index: 1501
}
.zoomify-shadow {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
display: block;
z-index: 1500;
background: rgba(0, 0, 0, .3);
opacity: 0
}
.zoomify-shadow.zoomed {
opacity: 1;
cursor: pointer;
cursor: -webkit-zoom-out;
cursor: zoom-out
}
</style>
</head>
<body>
<div class="example">
<img src="http://cdn.duitang.com/uploads/item/201408/20/20140820145159_ZyeWr.jpeg">
</div>
</body>
<script src="js/jquery.js"></script>
<script src="js/zoomify.min.js"></script>
<script type="text/javascript">
$('.example img').zoomify();
</script>
</html>