// requires jquery
$(document).ready(function () {
$("#media").lightGallery({
thumbnail: true,
thumbWidth: 80,
controls: true,
loop: false,
download: true,
counter: true,
// videojs: true
});