How to use light gallery for images?


#1

Hi,

I have been trying to create a section to one of our landing pages with the similar image layout as in Light Gallery feature ie the “Gallery with Animated Thumbnails

Tried everything they mentioned here https://sachinchoolur.github.io/lightgallery.js/demos/, but it doesn’t seem to work?

1. Installed the Javascript
lightGallery(document.getElementById(‘aniimated-thumbnials’), {
thumbnail:true
});

  1. Used the “Custom HTML” Content Element and placed the code
    http://prntscr.com/jf5zod

Unfortunately, the result looks like this https://cl.ly/1K2W2q3Z2E1W

Note: For img/img1.jpg and img/thumb1.jpg tags both, I have used the image URL from our wordpress media.

Any help will be highly appreciated.