Image Gallery


General Info


Image Gallery is built using Slick Carousel and Modal.

A gallery needs .slick-img class and these attributes:

  • data-gallery - gallery the image is part of
  • data-caption - image caption


<img class="slick-img" data-gallery="gallery" data-caption="First Photo" src="assets/images/magic_grid/magic_grid_default_02.jpg" alt="">

<img class="slick-img" data-gallery="gallery" data-caption="Second Photo" src="assets/images/magic_grid/magic_grid_default_03.jpg" alt="">

...