• Resolved gtaranti

    (@gtaranti)


    Hi,

    In a staging site that I run, I’ve installed W3TC and Envira Gallery plugins among others.
    When JS minification is enabled in the W3TC, the Envira Gallery is not working as it should (the isotope/masonry behaviour is broken)
    When JS minification is disabled, Envira Gallery is displayed correctly.
    No error in google chrome js console.

    I’ve manually selected js and css files to be minimised and excluded the Envira js and css.

    I’ve initially reached out to the Envira Gallery Plugin developers, but after a back and forth of emails they directed me here.

    I don’t want to deactivate minification, because is essential for load speed and size of the site.

    Do you have something to suggest?

    Thanks,

    • This topic was modified 6 years, 1 month ago by gtaranti.
    • This topic was modified 6 years, 1 month ago by gtaranti.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    Is HTML minify enabled in Performance>Minify? Do you have any other plugin for minification?

    Thread Starter gtaranti

    (@gtaranti)

    Hi,

    HTML Minify is enabled with settings
    x Enable
    x Inline CSS Min.
    x Inline JS Min.

    There isn’t any other plugin for minification.

    — update
    After disabling HTML Minify, Envira Gallery works again.
    This was the problem.

    Should I continue to have it disabled?
    Or there is some other workaround?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Yes please leave it disabled. This is a known issue that occurred after the update. We will be releasing an update with fixes within a week.

    Thread Starter gtaranti

    (@gtaranti)

    Thanks!

    You’re very helpful.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Envira Gallery not working when JS minification is enabled.’ is closed to new replies.