Viewing 1 replies (of 1 total)
  • Thread Starter anwbrenda

    (@anwbrenda)

    I noticed that image source that points to the domain url looks like this:

    <img class="alignleft wp-image-310" src="https://cache.air-n-water.com/resources/wp-content/uploads/2016/01/Trees-768x512-2-1.png" alt="Multiple Trees" width="550" height="367" srcset="https://cache.air-n-water.com/resources/wp-content/uploads/2016/01/Trees-768x512-2-1-300x200.png 300w, https://www.air-n-water.com/resources/wp-content/uploads/2016/01/Trees-768x512-2-1.png 768w" sizes="(max-width: 550px) 100vw, 550px">

    But if I strip the extra image attributes like what’s below, the image displays with the cdn version.

    <img class="alignleft wp-image-310" src="https://cache.air-n-water.com/resources/wp-content/uploads/2016/01/Trees-768x512-2-1.png" alt="Multiple Trees" width="550" height="367" />

    How can I prevent all of these attributes from showing up if they’re the ones preventing the cached image version to be used?

Viewing 1 replies (of 1 total)
  • The topic ‘Post Images: No CDN URL as SRC.’ is closed to new replies.