assets/js/script.js
/**
     * @desc Initialize the gallery with one image
     * @param {object} itemToInit - jQuery object
     * @param {string} addClass - additional gallery class
     */
@desc Initialize the gallery with one image
@param {object} itemToInit - jQuery object
@param {string} addClass - additional gallery class
@desc Initialize the gallery with one image @param { object } itemToInit - jQuery object @param { string } addClass - additional gallery class
function initLightGalleryItem(itemToInit, addClass) {
      if (!isNoviBuilder) {
        $(itemToInit).lightGallery({
          selector: "this",
          addClass: addClass,
          counter: false,
          youtubePlayerParams: {
            modestbranding: 1,
            showinfo: 0,
            rel: 0,
            controls: 0,
          },
          vimeoPlayerParams: {
            byline: 0,
            portrait: 0,
          },
        });
      }
    }
function initLightGalleryItem ( itemToInit , addClass ) { if ( ! isNoviBuilder ) { $ ( itemToInit ) . lightGallery ( { selector : "this" , addClass : addClass , counter : false , youtubePlayerParams : { modestbranding : 1 , showinfo : 0 , rel : 0 , controls : 0 , } , vimeoPlayerParams : { byline : 0 , portrait : 0 , } , } ) ; } }
@desc Initialize the gallery with one image
 @param {object} itemToInit - jQuery object
 @param {string} addClass - additional gallery class
@desc Initialize the gallery with one image @param { object } itemToInit - jQuery object @param { string } addClass - additional gallery class