Support » Plugin: Photoswipe for NextGEN Gallery » Fancybox overlay fixed

  • I realise the Photoswipe for NextGEN Gallery plugin is no longer being developed. I do however find it very useful even though it does not work properly with the current versions of NextGen Gallery and WordPress. For one thing the plugin administration page does not work and returns an error.

    I have noted on this forum that various people have made some fixes Unfortunately the link on the post does not function.

    Does anyone, by any chance, have a copy of the fixed php file?

    I have made the modifications in the thread

    but that by itself did not function. I also tried manually altering the database and inserted “fancybox” in the field in ‘additional_viewers’ but that did not help either. Finally I decided to disable fancybox regardless of whether it was found in the ‘additional_viewers’ or not.

    I added an extra line of code above the comment “//Add scripts to disable additional viewers:” at about line 40 in the ngg-photoswipe.php file. See below

    //Add script to disable fancybox regardless of if it is found in options below (added pdb 05/02/2018):
    wp_enqueue_script('ngg-photoswipe-disable-fancybox.js', plugins_url('photoswipe-for-nextgen-gallery/js/ngg-photoswipe-disable-fancybox.js', dirname(__FILE__)),array( 'jquery' ));

    That finally seems to have worked. It would be wonderful however to see a properly updated version.

    I used to be a programmer but I am now retired, and in any case I have never worked with javascript, so updating this very useful plugin is a bit beyond me. I do wish someone would take it up to bring it up to date. To be honest it does not seem to have major problems.

    • This topic was modified 2 years, 4 months ago by Fredlegs.
Viewing 1 replies (of 1 total)
  • If you got this far it is because you like the Photoswipe for NextGEN Gallery plugin but are having trouble using it.

    I was searching for a method or a plugin that would allow me to zoom on images in the lightbox and I finally found a plugin which not only gives me the zoom but is also rich in features and gives me the Photoswipe effect too.

    Highly recommended ARI Fancy Lightbox

Viewing 1 replies (of 1 total)
  • The topic ‘Fancybox overlay fixed’ is closed to new replies.