Javascript gallery snippet
<div id="lg-share-demo">
<a
data-pinterest-text="Pin it1"
data-tweet-text="lightGallery slide 1"
href="img/img1.jpg"
>
<img src="img/thumb1.jpg" />
</a>
<a
data-pinterest-text="Pin it2"
data-tweet-text="lightGallery slide 2"
href="img/img2.jpg"
>
<img src="img/thumb2.jpg" />
</a>
...
</div>