• I installed the latest version of nextgen: 2.0. Photoswipe is not compatible with this version.

    It appears that Photoswipe has lost the ability to replace the nextgen 2.0 Ligtbox effects, resulting in both getting activated when clicking on an image thumbnail and displaying on top of each other.

    Please fix, as this issue basically renders the plugin useless.

    KR TJ

    http://wordpress.org/plugins/photoswipe-for-nextgen-gallery/

Viewing 9 replies - 1 through 9 (of 9 total)
  • In nextgen 2.02 beta ( http://www.nextgen-gallery.com/nextgen-gallery-latest-beta/ ) you can choose “no effect” as lightbox-effect. (after deactivate, update to 2.02, reactivate and login/logout/login)
    On my site photoswipe works with this setting. (WP 3.6)

    Thread Starter tegotha

    (@tegotha)

    thnx w.bear. Good to know that nextgen is working on fixing things from their end. I have rolled-back nextgen to the last 1.9 version, and all is working now. i’ll wait with updating nextgen until they confirm all plugin fixes (including Photoswipe) have been implemented.

    Since the issue is related to nextgen, i’ll set this topic to resolved.

    Also – photoswipe looks for a tags with class “fancybox” to remove the fancybox functionality for photoswipe-enabled pages:

    jQuery('a.fancybox').unbind('click.fb').addClass('nolightbox').removeClass('fancybox');

    In NextGen ‘other’ settings, ‘lightbox effects’ tab, there’s an option for customizing the a tag classes, the default I found was ‘ngg-fancybox’, so if you remove ‘ngg-‘ from there it should work.

    Edit – That was totally wrong, NextGEN let’s you edit the class but it works with ‘ngg-fancybox’.

    So what I did to fix this was to switch:
    jQuery('a.fancybox').unbind('click.fb').addClass('nolightbox').removeClass('fancybox');

    To:

    jQuery('a.ngg-fancybox').unbind('click.fb').addClass('nolightbox').removeClass('ngg-fancybox');

    And then, since for some reason photoswipe doesn’t SAVE the “disable fancybox” checkbox option. I switched:

    if (1 == $options['fancybox']) {
    				wp_enqueue_script('ngg-photoswipe-disable-fancybox.js',  plugins_url('photoswipe-for-nextgen-gallery/js/ngg-photoswipe-disable-fancybox.js', dirname(__FILE__)),array( 'jquery' ));
    			}

    With (without the if statement):

    wp_enqueue_script('ngg-photoswipe-disable-fancybox.js', plugins_url('photoswipe-for-nextgen-gallery/js/ngg-photoswipe-disable-fancybox.js', dirname(__FILE__)),array( 'jquery' ));

    Hi PanStav

    I tried your instructions but no luck. I’m on NEXT GEN Version 2.0.17 and I’m still getting both lightbox and photoswipe firing off at the same time.

    Did you mean all of what your suggested with that version or with BETA 2.02?

    Yea, i posted that comment back when the new NextGen was a bundle of bugs. Don’t really know how it is right now.

    What do you mean by firing off at the same time?
    You get both the lightbox AND the photoswipe layout?

    That’s odd.. do you by any chance have your photoswipe configuration set to debug mode?

    I’m getting all in a tangle with nextgen and photoswipe. Seems I can either have photoswipe type display (not sure what the technical term is for it) on both desktop and mobile devices or lightbox on both devices. I wouldn’t mind the photoswipe type display except that it crops the top of my images with an overlay with the title until you click on the image again at which point the controls disappear.

    http://www.rchittenden.co.uk/adult-portraits/

    Is there anyway to either make that overlay transparent or get rid of it altogether

    have tried downloading nextgen pro on my other site but can’t get that to work at all.

    I’m getting all in a tangle with nextgen and photoswipe. Seems I can either have photoswipe type display (not sure what the technical term is for it) on both desktop and mobile devices or lightbox on both devices. I wouldn’t mind the photoswipe type display except that it crops the top of my images with an overlay with the title until you click on the image again at which point the controls disappear.

    http://www.rchittenden.co.uk/adult-portraits/

    Is there anyway to either make that overlay transparent or get rid of it altogether

    have tried downloading nextgen pro on my other site but can’t get that to work at all.

    Any progress on this topic? Senor Senas, if one or more of us made a donation, would you be able to put some time in fixing this incompatibility?

    I’ve been having the same problem and wanted to wait on updating NextGEN like teogotha, but I had to update to sort out a different plugin conflict. I can’t seem to find an alternate plugin that works. The ones that come up in search results, like Simple Lightbox, Responsive Lightbox, and WunderSlider, don’t work for me – they just supplant the existing FancyBox effect without adding swipe functionality on mobile devices.

    If a donation would make a difference, please let me/us know what amount is appropriate.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘photoswipe not compatible with nextgen gallery 2.0’ is closed to new replies.