/var/www/clients/client1/web2/web/latynlatyn/js/owl.carousel/demos
NameSizeModeActions
assets/-0755rm
json/-0755rm
autoHeight.html126640644editdlrm
click.html134220644editdlrm
custom.html148560644editdlrm
customJson.html117480644editdlrm
full.html116630644editdlrm
images.html119280644editdlrm
itemsCustom.html138850644editdlrm
json.html121780644editdlrm
lazyLoad.html143050644editdlrm
manipulations.html159510644editdlrm
navOnTop.html137400644editdlrm
navOnTop2.html119070644editdlrm
one.html113750644editdlrm
owlStatus.html157920644editdlrm
progressBar.html148650644editdlrm
randomOrder.html145830644editdlrm
scaleup.html117760644editdlrm
sync.html201010644editdlrm
transitions.html130160644editdlrm
Edit: /var/www/clients/client1/web2/web/latynlatyn/js/owl.carousel/demos/one.html (11375B)
Owl Carousel - One slide

One Item with Image

Setup

In order for the images to auto fit to slider containers use width 100% on . Check CSS below

$(document).ready(function() {

  $("#owl-demo").owlCarousel({

      navigation : true, // Show next and prev buttons
      slideSpeed : 300,
      paginationSpeed : 400,
      singleItem:true

      // "singleItem:true" is a shortcut for:
      // items : 1, 
      // itemsDesktop : false,
      // itemsDesktopSmall : false,
      // itemsTablet: false,
      // itemsMobile : false

  });

});
<div id="owl-demo" class="owl-carousel owl-theme">

  <div class="item"><img src="assets/fullimage1.jpg" alt="The Last of us"></div>
  <div class="item"><img src="assets/fullimage2.jpg" alt="GTA V"></div>
  <div class="item"><img src="assets/fullimage3.jpg" alt="Mirror Edge"></div>

</div>
#owl-demo .item img{
    display: block;
    width: 100%;
    height: auto;
}