jQuery API

Initialize from a selector (Vanilla or jQuery wrapper).

$('.gallery a').leoLightbox({ thumbs: true, zoom: true });