WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery Optimizer
[resolved] Optimizer Premium in page builder doesn't work (2 posts)

  1. embleme
    Member
    Posted 1 year ago #

    Hi!

    I have buy the premium version because I had problems to display my thumb correctly... but when I go in a page everything work perfectly but when I call this page under a page builder that does not work.
    Example, the original page :
    http://www.constructionsantemontreal.ca/le-projet-en-images/

    When I call it in the page builder (at the page bottom) :
    http://www.constructionsantemontreal.ca/

    Do you know how to make it display fine?
    Thanks :)

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

  2. Mark Jeldi
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Embleme,

    Thanks for downloading NextGEN Gallery Optimizer Premium!

    It appears your Page Builder is using widgets to piece together the page, but unfortunately, it's not currently possible in WordPress to detect if a widget is actually present on a page before the head section of the document is loaded (re: Optimizer's FAQ), and loading the extra gallery scripts sitewide would defeat the purpose of the plugin.

    However, I've recently come up with a solution whereby if you tell Optimizer beforehand where you want the necessary scripts to run, it will indeed load them conditionally in the head where they won't break, and only on the pages you specify (not sitewide).

    I'm currently working on a conditional-building form for the plugin's settings page, but until then, I've sent you an email with a customized version of Optimizer Premium, which features a conditional function that will load your gallery scripts and stylesheets on the homepage (in addition to your regular [nggallery id=x] shortcodes in your post/page content).

    Let me know if you require any further assistance.

    I hope this helps!

    Cheers,
    Mark.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.