Home

Awesome

ion.zoom

English description | <a href="readme.ru.md">Описание на русском</a>

Easy and light image lightbox for small galleries.


Description

Dependencies

Using script

Import this libraries:

And CSS:

Create gallery:

<a href="static/img/zoom/zoom-big-01.jpg" class="gallery_1"><img src="static/img/zoom/zoom-small-01.jpg" alt="" /></a>
<a href="static/img/zoom/zoom-big-02.jpg" class="gallery_1"><img src="static/img/zoom/zoom-small-02.jpg" alt="" /></a>
<a href="static/img/zoom/zoom-big-03.jpg" class="gallery_1"><img src="static/img/zoom/zoom-small-03.jpg" alt="" /></a>

Initialize gallery:

$(".gallery_1").ionZoom();

Or initialize gallery with custom settings:

$(".gallery_2").ionZoom({
    visibleControls: false                      // disable visible controls
});

Public methods:

Close gallery:

$(".gallery_1").ionZoom("close");

<a href="history.md">Update history</a>


Support Ion-series plugins development: