Support » Plugin: WordPress Gallery Plugin - NextGEN Gallery » CDN and NextGEN Gallery

  • Resolved rnearyITS

    (@rnearyits)


    We are trying to use CDN over SSL but are running into some issues with applying post-processing rules.

    Is NextGEN Gallery performing anything special with output buffering within the plugin that could be preventing HTML post processing?

    Is there some kind of option to be enabled/disabled to allow HTML post processing and then re-enable?

    Everything is up to date in terms of WP and NextGEN plugin versions.

    https://wordpress.org/plugins/nextgen-gallery/

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

    (@photocrati)

    @rnearyits – NextGEN Gallery does not currently support “external” sources for its images but other than that I’m not getting enough context in the description of the issue you are having to offer much more.

    – Cais.

    rnearyITS

    (@rnearyits)

    Hey Cais, thanks for the reply. I will try to elaborate further.

    We are using the NextGEN Gallery plugin to generate the URLs for the image gallery, and then using HTML post processing to deliver those URLs over a CDN. For some reason, we haven’t been able to do this without deactivating NextGEN Gallery, so we are wondering if there is something within in the plugin that is messing with the output buffering (ob) and not letting the HTML post-processing take effect?

    Hopefully this explains it well enough. Let me know if you still need any more information.

    Plugin Author photocrati

    (@photocrati)

    @rnearyits – I suspect we will still need to know a lot more about the “HTML post processing” and where exactly you are injecting it into the page rendering. What other details can you provide for this?

    – Cais.

    Benjamin

    (@benjaminowens)

    You likely want to define the following constants:

    define('NGG_DISABLE_RESOURCE_MANAGER', TRUE);
    define('NGG_DISABLE_FILTER_THE_CONTENT', TRUE);

    For compatibility with certain (a lot of badly written..) themes & plugins NextGen does a little output buffering to ensure stylesheets and scripts are always enqueued correctly.

    rnearyITS

    (@rnearyits)

    @benjamin, it looks like those definitions helped. Thank you!

    Plugin Author photocrati

    (@photocrati)

    @rnearyits – Thanks for the follow-up!

    – Cais.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘CDN and NextGEN Gallery’ is closed to new replies.