jQuery(document).ready(function($) {
    //For gallery template 1
    $('#wppg-gallery-display .wppg-gallery-template1-thumb a.wppg_popup').lightBox({
        imageLoading:WPPG_LIGHTBOX_JS.imgLoading,
        imageBtnPrev:WPPG_LIGHTBOX_JS.imgbtnPrev,
        imageBtnNext:WPPG_LIGHTBOX_JS.imgbtnNext,
        imageBlank:WPPG_LIGHTBOX_JS.imgBlank,
        imageBtnClose:WPPG_LIGHTBOX_JS.imgbtnClose
    });

    //For gallery template 2
    $('#wppg-gallery-template-2 a.wppg_popup').lightBox({
        imageLoading:WPPG_LIGHTBOX_JS.imgLoading,
        imageBtnPrev:WPPG_LIGHTBOX_JS.imgbtnPrev,
        imageBtnNext:WPPG_LIGHTBOX_JS.imgbtnNext,
        imageBlank:WPPG_LIGHTBOX_JS.imgBlank,
        imageBtnClose:WPPG_LIGHTBOX_JS.imgbtnClose
    });
    
    //For gallery template 3
    $('#wppg-gallery-template-3 a.wppg_popup').lightBox({
        imageLoading:WPPG_LIGHTBOX_JS.imgLoading,
        imageBtnPrev:WPPG_LIGHTBOX_JS.imgbtnPrev,
        imageBtnNext:WPPG_LIGHTBOX_JS.imgbtnNext,
        imageBlank:WPPG_LIGHTBOX_JS.imgBlank,
        imageBtnClose:WPPG_LIGHTBOX_JS.imgbtnClose
    });    
});
