Check out the WordPress Plugin of lightGallery
Lightgallery comes with a few built in modules, such as thumbnails, full screen, zoom, etc. It is easy to create your own modules, as well as detach modules that you don't want to use.
Touch and Drag
Lightgallery supports touch and swipe navigation on touchscreen devices, as well as mouse drag for desktops. This allows users to navigate between slides by either swipe or mouse drag.
Lightgallery comes with a numerous number of options, which allow you to customize the plugin very easily. You can easily customize the look and feel of the gallery by updating SASS variables.
You also have the option to enable animated thumbnails from the settings. otherwise normal thumbnail will be used. You can also make thumbnails automatically load for your YouTube or vimeo videos.
Youtube vimeo support
LightGallery video module allow you to create beautiful youtube/vimeo video galleries. It has lots of features such as automatic play/pause videos, thumbnails, posters and more.
Lightgallery can be instantaneously launched by programmatically enabling the dynamic option and populating by passing array of objects representing the gallery elements.
Zoom & Fullscreen
You can double-click on the image to see its actual size. Zoom-in and zoom-out controls can be used for changing the zoom values of the image. Lightgallery supports native html full screen mode as well.
lightGallery share plugin allows you to share your images/videos to Twitter, Facebook, Pinterest and Google plus with unique url.
By default lightGallery loads only 3 slides at a time to improve performance. Remaining slides are loaded as you navigate to it. It is customizable in settings.
lightGallery lets you to load different images for different viewports. It also supports the html5 srcset attribute for displaying high-resolution images.
lightGallery hash plugin lets you to provide unique url for each gallery images. lightGallery will record slide history and allows you to travel to previous slides via browser back/forward buttons.