• Resolved DickRaney

    (@dickraney)


    I had to turn off CSS optimization completely because no matter what settings I used, it was inserting data URIs (that didn’t work) for some images. Here are the settings I tried https://snipboard.io/rtAMe1.jpg

    Any idea what is wrong?

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter DickRaney

    (@dickraney)

    I actually had to disable the plugin to get rid of the data URIs.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    “also defer inline JS” uses something similar, replacing inline JS with src=”data:text/javascript;base64,xyz…”, but that does not act on images so for now I’m clueless I’m afraid. Do you have a staging site where you could keep AO active so I can have a look?

    Thread Starter DickRaney

    (@dickraney)

    I’m not sure what to do. I have a staging site on the same server and am not able to get the same issue. It is a clone of the live site. All the same theme, content, plugins, etc.

    There is one plugin that is not activated on the staging site because it only allows one active account connection. But I have tried deactivating it on the live site too and still have the same issue there.

    Since I don’t see the issue on the staging site, what do you suggest?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    how weird … OK, next step; re-enable AO briefly on the live site and then copy/ paste the HTML source (not in developer tools which shows the “living” DOM but ctrl-U in the browser which shows the HTML as received from the server) into a Github Gist or a pastebin.com paste and provide the link so I can have a look at that, maybe that’ll ring a bell for me?

    Thread Starter DickRaney

    (@dickraney)

    Here is the gist
    https://gist.github.com/draney/f3231bada61f130d50ef72d3e28a86f5

    Here are screenshots of front end with AO and without AO
    Without: https://snipboard.io/dkrGPg.jpg
    With: https://snipboard.io/KrYDkZ.jpg

    THANKS!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, looks like the root problem is that you’re lazyloading image using Rocket Lazy Load and that lazy loading breaks due to AO JS optimization, so excluding Rocket Lazy Load from JS optimization OR switching to AO lazyload will likely fix this. Can you give that a try?

    Thread Starter DickRaney

    (@dickraney)

    You Rock!!!

    I switched to AO lazy load and all is good.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome, feel free to leave a review of the plugin and support here! 🙂

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

The topic ‘Breaking Image Display with data URIs’ is closed to new replies.