<div class="owl-carousel owl-theme">
<div class="item">
<a href="img-big.png" data-fancybox>
<img src="img-mini.png" alt="preview">
</a>
</div>
<div class="item">
<a href="img-big.png" data-fancybox>
<img src="img-mini.png" alt="preview">
</a>
</div>
<div class="item">
<a href="img-big.png" data-fancybox>
<img src="img-mini.png" alt="preview">
</a>
</div>
<div class="item">
<a href="img-big.png" data-fancybox>
<img src="img-mini.png" alt="preview">
</a>
</div>
<div class="item">
<a href="img-big.png" data-fancybox>
<img src="img-mini.png" alt="preview">
</a>
</div>
<div class="item">
<a href="img-big.png" data-fancybox>
<img src="img-mini.png" alt="preview">
</a>
</div>
<div class="item">
<a href="img-big.png" data-fancybox>
<img src="img-mini.png" alt="preview">
</a>
</div>
<div class="item">
<a href="img-big.png" data-fancybox>
<img src="img-mini.png" alt="preview">
</a>
</div>
<div class="item">
<a href="img-big.png" data-fancybox>
<img src="img-mini.png" alt="preview">
</a>
</div>
<div class="item">
<a href="img-big.png" data-fancybox>
<img src="img-mini.png" alt="preview">
</a>
</div>
</div>
$('.owl-carousel').owlCarousel({
loop:true,
margin:10,
nav:false,
items:5
})