• NGG version: 2.1.2

    I note the following:

    = V2.0.74 – 02.20.2015 =
    * Changed: Removed jQuery Lightbox and Highslide due to incompatible licensing with GPL

    I had been using a customized version of the jquery lightbox which I have been unable to add using the Other Options > Lightbox Effects. In an attempt to test, I have reverted back to the jquery lightbox that had been included in NGG version 2.0.71. I have put the entire jquery.lightbox folder in my theme, and am using the following settings:

    code: ngg_lightbox
    stylesheet: /wp-content/themes/galerieBonheur/js/jquery.lightbox/jquery.lightbox.min.css
    javascript:
    /wp-content/themes/galerieBonheur/js/jquery.lightbox/jquery.lightbox.min.js
    /wp-content/themes/galerieBonheur/js/jquery.lightbox/nextgen_lightbox_init.min.js

    My test page is located here: http://bit.ly/1fxukha

    You can see that the above source files are showing up in the html and can be found in the browser, but the effect does not work. I am also using a custom template based heavily on legacy gallery-caption. The custom template does successfully use the other default lightbox effects. When attempting to use the jquery lightbox, the clicked image only loads the linked image into a new window.

    Since I’m (re)adding new (prior) lightbox functionality, is this supposed to be incorporated more like an plugin addon?: http://www.nextgen-gallery.com/how-to-build-a-display-type/ Even though it is noted that the aforementioned link is outdated.

    Help? Thanks in advance!

    https://wordpress.org/plugins/nextgen-gallery/

Viewing 1 replies (of 1 total)
  • Benjamin

    (@benjaminowens)

    If you edit nextgen_lightbox_init.js you’ll see this:

    selector.lightBox({
        imageLoading:  nextgen_lightbox_loading_img_url,
        imageBtnClose: nextgen_lightbox_close_btn_url,
        imageBtnPrev:  nextgen_lightbox_btn_prev_url,
        imageBtnNext:  nextgen_lightbox_btn_next_url,
        imageBlank:    nextgen_lightbox_blank_img_url
    });

    Replace each of the variables on the right like so:

    selector.lightBox({
        imageLoading:  'lightbox-ico-loading.gif',
        imageBtnPrev:  '/wp-content/themes/galerieBonheur/js/jquery.lightbox/lightbox-btn-prev.gif', // or like this..
        // and so on
    });

    Which should fix your problem.

Viewing 1 replies (of 1 total)
  • The topic ‘previous default lightbox option was removed, but adding as custom doesn't work’ is closed to new replies.