• retractableawningsdotcom

    (@retractableawningsdotcom)


    All .jpg’s and .png’s on my website are NOT visible. I determined that the issue is with autoptimze so I UNclicked Optimize JS code and now all pictures ARE visible.

    Is there any way to use js compression without breaking the Redux scripts because the jpg’s and png’s are good but they are not loading due to redux scripts being broken. The only way I can see the pics is by having the
    Optimize JavaScript Code UNchecked.

    I have a screenshot of the WordPress Admin area but don’t see an option to attach it here

    Do you know what the issue is?

    Is there anything I need to do on my end to correct this issue?

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

    (@optimizingmatters)

    OK, so what happens if you keep “optimize JS” on but “aggregate JS” off?

    Thread Starter retractableawningsdotcom

    (@retractableawningsdotcom)

    When I turn “optimize JS” on and “aggregate JS” off, the website loads correctly and is visible.

    My developer stated that if we don’t use “aggregate JS” this will cause slowing of the site because all js will go to the head tag and this will cause render block.

    Does the plugin need an update to correct the “aggregate JS” issue or can this be resolved/fixed in some other way?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    My developer stated that if we don’t use “aggregate JS” this will cause slowing of the site because all js will go to the head tag and this will cause render block.

    that is correct.

    Does the plugin need an update to correct the “aggregate JS” issue

    no, this is to be fixed by re-configuring Autoptimize.

    or can this be resolved/fixed in some other way?

    yes; you’ll need to find what JS is responsible for (lazy?)loading images and exlude that from optimization.

    what JS errors do you see on the browser console, that might help you (or your developer) to pinpoint.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Uncaught SyntaxError: Unexpected token ‘<‘

    that looks like a JS file that is not found (404), what file did/ does that refer to?

    Yes… my suspect is the aggregate js. Aggregate combine other js and it is breaking the script.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, but what file did that Uncaught SyntaxError: Unexpected token ‘<‘ refer to?

    And when “aggregate JS” is on and you exclude either wp-includes or wp-content/themes or wp-content/plugins, does the problem continue?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Pictures not visible – Optimize JS code & Redux’ is closed to new replies.