Lightgallery allows you to create animated thumbnails for your gallery with the help of thumbnail plugin. It supports touch swipe navigation on touchscreen devices as well as mouse drag for desktops. It also allows users to navigate between thumbnails via swipe of their fingers or mouse drag.
<div id="aniimated-thumbnials"> <a href="img/img1.jpg"> <img src="img/thumb1.jpg" /> </a> <a href="img/img2.jpg"> <img src="img/thumb2.jpg" /> </a> ... </div>
lightGallery(document.getElementById('aniimated-thumbnials'), { thumbnail:true });
<div id="animated-thumbnials"> <a href="img/img1.jpg"> <img src="img/thumb1.jpg" /> </a> <a href="img/img2.jpg"> <img src="img/thumb2.jpg" /> </a> ... </div>
lightGallery(document.getElementById('animated-thumbnials'), { thumbnail:true, animateThumb: false, showThumbByDefault: false });