• Resolved dirk123

    (@dirk123)


    Hi,

    I just updated Astra and images stopped loading when Autoptimize is activated. Images load fine when Autoptimize is deactivated.

    Any idea how to fix this?

    Cheers,
    Dirk

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    were you using image optimization and/ or lazyload in AO? do images load when that is off?

    Thread Starter dirk123

    (@dirk123)

    Optimization and lazyload are turned off…

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, next let’s try to identify what is breaking things by just disabling CSS or JS or HTML optimization? Based on that we can see what the next steps need to be 🙂

    frank

    Thread Starter dirk123

    (@dirk123)

    The problem is “Aggregate all linked JS-files to have them loaded non-render blocking?”. When I turn that off, images load fine…

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, now when “aggregate JS” is on, what JS errors do you see in the browser console?

    Thread Starter dirk123

    (@dirk123)

    Weird, when I refresh the browser when developer tools is opened, the images load fine…

    I see this error:

    Uncaught ReferenceError: mOxie is not defined
    at autoptimize_bf0ddcb3c0178457a829fb7dfa452b08.js:65

    Thanks,
    Dirk

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Do you have a staging site where you could leave things broken for a little while Dirk?

    Thread Starter dirk123

    (@dirk123)

    Unfortunately not…

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    darn .. well the thing is I can’t find any reference to mOxie in the JavaScript code for your frontpage, so maybe the error only pops while logged in, can you check in an anonymous/ private window?

    additionally; what happens if you keep “optimize JS” on, but have “aggregate JS” off? or if you switch to “do not aggregate but defer”?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Any news on this topic Dirk?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    No feedback so I assume this got resolved Dirk? Feel free to follow up if you still encounter issues!

    have a nice day!
    frank

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Images No Longer Loading’ is closed to new replies.