Support » Plugin: NextGEN Gallery - WordPress Gallery Plugin » V 2.0.57: Plugin jQuery Lightbox does not work anymore

Viewing 15 replies - 1 through 15 (of 22 total)
  • Plugin Author photocrati

    (@photocrati)

    @gerobe – Thanks for this topic as well, you might want to add this to the Bug Report I suggested in the other topic.

    Thanks!

    – Cais.

    I have the same issue here, is there any workaround for this or I should use the previous version until this is fixed?

    It appears as though if you have enqueued a version of jQuery in your theme, and have 2.0.57, no jQuery loads. This is a pretty big issue for me.

    Quick solution is to comment out your jQuery enqueue lines in the functions file, but that shouldn’t be the long-term solution…

    Thanks. I think I will rather continue using the previous version until the next update. I fancy a lot of features in the new one tho.

    Plugin Author photocrati

    (@photocrati)

    @endruboy – I would recommend you own topic as @gerobe has a few topics they are involved with and this would make me think you may not have the same exact same issue.

    @socki03 – Thanks for the suggested work-around but I would suggest taking that idea to the theme author if it is the functions.php template file that requires that modification.

    – Cais.

    Well my issue is that after update, the gallery css loads nice (so it looks the same as before) but on mouseover I no longer have that tiny zoom icon and after clicking one of the pictures it loads on a blank page without any lightbox effect.

    I have a basic theme witten by me, no fancy features. I’m thinking you maybe changed where the jQuery loads on a page and maybe I missed something there and it can’t find that point. Is it makes any sense?

    Plugin Author photocrati

    (@photocrati)

    @endruboy – Can you share a link to your site so we can get a better idea of what is going on?

    Thanks!

    – Cais.

    Plugin Author photocrati

    (@photocrati)

    @socki03 – I may have misunderstood your comment … are you saying all instances of jQuery on your site are not being enqueued?

    If that is the case, we would really appreciate a Bug Report (http://www.nextgen-gallery.com/report-bug/) with your site specifics so we can get a handle on what might be happening … a link to your site may be helpful but may not offer enough information.

    We would most likely need a set of log in credentials and may also need FTP access to your WordPress installation as well, please include those with the Bug Report.

    Thanks!

    – Cais.

    @photocrati – I have sent you a link to my website on your contact form at photocrati.com.
    I have reinstalled the previous version of NextGen Gallery because there are important pages on my websites which uses the plugin. But if you can’t figure out what is wrong I can reinstall the new one for a short time period just write to me.

    Yet another idea: maybe it’s because I have installed my WP on a subfolder and using the http base tag to reach the css and other elements (because I have html pages using the same css)?

    Bug reported.

    To clarify: The jQuery fails to enqueue at all using the wordpress enqueue script functions (wp_deregister_script, wp_register_script, wp_enqueue_script) when paired with the 2.0.57 version of this plugin. Everything else enqueued in this way shows up, but jQuery does not.

    Plugin Author photocrati

    (@photocrati)

    @socki03 – Thanks for the follow up and the Bug Report. I responded to it a short while ago.

    All – If you are experiencing similar issues of jQuery not being defined or not being enqueued then please try our most recent beta we just released earlier today. You can download it from this page: http://www.nextgen-gallery.com/nextgen-gallery-latest-beta/

    It would also be greatly appreciated if you do test the beta to correct this particular type of jQuery issue that you let us know if it worked … or if it did not.

    Feel free to respond here or contact us via our Bug Reports or Contact forums:

    * http://www.nextgen-gallery.com/report-bug/
    * http://www.nextgen-gallery.com/contact

    Thanks!

    – Cais.

    Plugin Author photocrati

    (@photocrati)

    @gerobe – This latest beta (2.0.57.1) also has a specific fix targeted at the jQuery Lightbox, please let us know if it helps with this particular issue you were seeing as well.

    Thanks!

    – Cais.

    I’ve installed the beta but the result is still the same. And I’ve also noticed that indeed no jQuery loads at all at any of my pages (not just where gallery is used). I know this because I’ve a plugin called Lazy Load which shoud load images only when the they showed on the monitor and I only see blank images if it’s activated. If I deactivate it images appear correctly but the gallery lightbox still not working.

    Also if I deactivate all other plugins and use the default css for tumbnails it still doesn’t work.

    Plugin Author photocrati

    (@photocrati)

    @endruboy – I’m thinking you should have started your own topic from the beginning and would still recommend doing so going forward, but as it is you may want to submit a Bug Report as suggested earlier in the thread to other so we can try to help you sort this out.

    We will need log in and FTP credentials to your WordPress installation as well, please include those with the Bug Report.

    Thanks!

    – Cais.

    Steve

    (@stevecordle)

    The problem lies in the following lines: 336-338 in nggallery.php, REMOVE them.

    if (isset($wp_scripts->registered['jquery'])) {
            $wp_scripts->registered['jquery']->src = FALSE;
        }

    If jQuery is registered, set the source to FALSE? Ironically, the function that this set of code is in, is called “fix_jquery()”. At any rate, there is a built in function “wp_script_is()”.

    if(!wp_script_is( 'jquery', 'registered'){
         wp_register_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js', false, '1.11.0', true );
         wp_enqueue_script('jquery');
    }
Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘V 2.0.57: Plugin jQuery Lightbox does not work anymore’ is closed to new replies.