title: swiperjs to set automatically the number of sildes per view
body: <p>I am creating a photo carousel using swiperJS <a href="http://idangero.us/swiper/" rel="noreferrer">ref link here</a>. </p>
  
  <p>Here are the params of the swiper:</p>
  
  <pre><code>mySwiper = Swiper('.swiper-container', {
      loop: false,
      speed: 800,
      slidesPerView: 'auto',
      grabCursor: true,
      spaceBetween: 2,
      initialSlide: 0,
      keyboardControl: false,
      resizeReInit: true,
      autoplayDisableOnInteraction: false,
      pagination: '.swiper-pagination',
      paginationClickable: false,
      nextButton: '.swiper-next',
      prevButton: '.swiper-prev'
  });
  </code></pre>
  
  <p>My purpose is to fit as many slides into the view as possible. The photos are of different width and size, some are landscape mode and some are portrait. </p>
  
  <p><strong>Problem:</strong> only showing one slide per view.</p>
  
  <p><strong>Goal</strong>: fit in as many slides as possible into view.</p>
  
  <p>could somebody help me to achieve this?</p>