NextGEN Gallery Optimizer
NextGen Widget Fancybox Not Working (2 posts)

  1. Blue Squirrel
    Posted 4 years ago #

    If I have a NextGen gallery on the page then the fancybox works for those pictures and also for any pictures that are in NextGen Widgets on the screen.

    If I don't have a NextGen gallery on the screen then the NextGen Widgets no longer work with Fancybox.

    I presume this is because there is no NextGen shortcode in the code so the NextGenGalleryOptimiser is never putting the relevant fancybox code on the page.

    Is there a way round this?


  2. Mark Jeldi
    Plugin Author

    Posted 4 years ago #

    Hi Blue Squirrel,

    That's correct!

    I've worked long and hard on integrating support for NextGEN's widgets (re: the FAQ), but unfortunately it's not presently possible in WordPress to both look ahead and detect if an individual widget is actually displayed on the page, and then go back to conditionally load the required scripts in the header (where they need to be to function).

    Since the aim of Optimizer is to not load unnecessary scripts on every page view, this continues to be a work in progress.

    Hopefully I'll have a solution soon.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery Optimizer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic