Magento Open Source 2.2.x
Adding a Lightbox or Slider

There is a wide assortment of jQueryA popular JavaScript library that is often used to create dynamic and responsive effects.-based image lightboxes, sliders, and carousels available on Magento Marketplace, and some are free.

Slider Extensions

To add a lightbox or slider to your store, download the extension from Magento Markeplace, and follow the instructions to install the extension. For additional help, see the documentation provided by the developer.