new-demo-gallery

<div class="item"> <div class="clearfix" > <ul id="gwts-gwl-img-gallery17386" class="gwts-gwl-slidergal list-unstyled cS-hidden" data-litebx="false"> <li data-thumb="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0012-150x150.jpg" data-responsive="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0012-150x150.jpg" data-src="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0012.jpg"> <img src="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0012.jpg" alt=""/> </li> <li data-thumb="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0025-150x150.jpg" data-responsive="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0025-150x150.jpg" data-src="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0025.jpg"> <img src="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0025.jpg" alt=""/> </li> <li data-thumb="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0031-150x150.jpg" data-responsive="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0031-150x150.jpg" data-src="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0031.jpg"> <img src="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0031.jpg" alt=""/> </li> <li data-thumb="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0090-150x150.jpg" data-responsive="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0090-150x150.jpg" data-src="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0090.jpg"> <img src="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0090.jpg" alt=""/> </li> <li data-thumb="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0017-150x150.jpg" data-responsive="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0017-150x150.jpg" data-src="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0017.jpg"> <img src="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0017.jpg" alt=""/> </li> <li data-thumb="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0080-150x150.jpg" data-responsive="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0080-150x150.jpg" data-src="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0080.jpg"> <img src="https://www.pasadenavilla.com/wp-content/uploads/2021/07/IMG_0080.jpg" alt=""/> </li> </ul> </div> </div> <script> jQuery(document).ready(function() { jQuery('#gwts-gwl-img-gallery17386').lightSlider({ item:1, slideMargin:10, addClass:'', speed:500, pause:2000, auto:false, loop:false, pager:true, gallery:true, thumbItem:9, controls:true, useCSS: true, cssEasing: 'ease', easing: 'linear', keyPress: false, slideEndAnimation: true, swipeThreshold: 40, onSliderLoad: function(el) { jQuery('#gwts-gwl-img-gallery17386').removeClass('cS-hidden'); jQuery('#gwts-gwl-img-gallery17386').addClass('gwts-loaded'); var maxHeight = 0, container = jQuery(el), children = container.children(); children.each(function () { var childHeight = jQuery(this).height(); if (childHeight > maxHeight) { maxHeight = childHeight; } }); container.height(maxHeight); var lithbox = jQuery('#gwts-gwl-img-gallery17386').attr("data-litebx"); if(lithbox=='true'){ el.lightGallery({ selector: '#gwts-gwl-img-gallery17386 .lslide' }); } } }); }); </script>