WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Blue Squirrel
    Member
    Posted 1 year 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?

    http://wordpress.org/extend/plugins/nextgen-gallery-optimizer/

  2. Mark Jeldi
    Member
    Plugin Author

    Posted 1 year 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.

    Cheers,
    Mark.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic