title: How to remove an item from owl-carousel 2?
body: <p>How can I remove an item from an owl carousel gallery? </p>
  
  <p>Here's my html markup:</p>
  
  <pre><code>&lt;div class="owl-carousel owl-theme"&gt;
      &lt;img src="/assets/storage/gallery/1.jpg"&gt;&lt;/div&gt;
      &lt;img src="/assets/storage/gallery/2.jpg"&gt;&lt;/div&gt;
      &lt;img src="/assets/storage/gallery/3.jpg"&gt;&lt;/div&gt;
      &lt;img src="/assets/storage/gallery/4.jpg"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And here's my JavaScript:</p>
  
  <pre><code>$(".owl-carousel").owlCarousel({
    items: 1,
    margin: 10,
    rtl: true,
    autoHeight: true,
    lazyLoad: true
  });
  </code></pre>