• Resolved jdykast

    (@jdykast)


    Hi guys, thanks for the great plugin. I’m having a problem with the image source not being written consistently. The issue didn’t begin occurring until I tried to use the plugin, S3, and CloudFront. I’m not exactly sure how to describe the problem, so I’ll paste the code below:

    <img decoding="async" class="wp-image-18560" src="https://media.confluence.church/2026/01/30202327/" width="" height="" alt="" data-uniqueid="18560-107581" data-guid="https://confluence.church/wp-content/uploads/2026/01/confluence-logo-white.png" data-path="2026/01/confluence-logo-white.png" data-width="600" data-height="107" data-singlew="600" data-singleh="" data-crop="" data-fixed="width">

    <img decoding="async" class="wp-image-18560" src="https://media.confluence.church/2026/01/30202327/confluence-logo-white.png" width="600" height="107" alt="">

    As you can see, the first version fails because the src is incomplete and the data-guid doesn’t reflect the location of the offloaded file. The second version works perfectly. It’s also inconsistent when the first version will be used and when the second is used. Currently, I can see the first version while visiting confluence.church in Chrome and the second version when visiting my sandbox page at confluence.church/home-page-xyz/. In Safari, both pages correctly display the image.

    For context, the site is built with the Uncode theme on the current version of WordPress and hosted on Kinsta.

    Thanks in advance for any help and insight you can offer! Let me know what other information might be helpful in diagnosing the issue.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Masoud Golchin

    (@masoudin)

    Hi @jdykast, thanks for the detailed report — really helpful!

    We’ve been able to reproduce the issue on your homepage and have identified what’s happening.

    What’s going on:

    The Uncode theme uses its own adaptive image system — instead of standard <img> tags, it renders images with special attributes like data-guid and data-path, then uses JavaScript and an AJAX handler to dynamically load and resize images from your server’s local filesystem. This system bypasses the standard WordPress image pipeline that ADVMO hooks into for URL rewriting.

    So when ADVMO offloads your images to S3/CloudFront, Uncode’s adaptive system still tries to find and resize the original local files — which may no longer exist. That’s why the src ends up incomplete (just the directory path, missing the filename) and the behavior is inconsistent across pages and browsers.

    About data-guid:

    The data-guid attribute in Uncode’s markup is populated from WordPress’s internal guid field — a permanent, unique identifier stored in the database for every post and attachment. It’s not meant to be a live URL, and WordPress itself explicitly warns against modifying it. Rewriting the guid could cause issues with RSS feeds, import/export, and other core functionality, so it’s not something ADVMO should change. If you ever disable ADVMO, a modified guid would point to a CDN location that no longer works.

    Recommended next step:

    Since this stems from how Uncode’s adaptive image system handles image URLs and local file access — both in their PHP (the get_adaptive_async AJAX handler) and their JavaScript — we’d recommend reaching out to the Uncode theme support team and letting them know about the incompatibility with cloud storage/offloading plugins. They would need to update their adaptive image system to support images served from external URLs rather than relying on local file paths.

    We’re happy to provide their team with technical details on how ADVMO’s URL rewriting works if that would help move things along.

    Hope that helps — let us know if you have any questions!

    Thread Starter jdykast

    (@jdykast)

    Thanks for the answer! I figured it was due to the data-guid stuff but I wasn’t sure who was handling it. After you identified that it was the theme, I poked around in the settings and found a setting for adaptive images. I’ve turned them off and will keep an eye on the site to see if the problem persists.

    Thanks again for your help and for a great plugin!

    – Jason

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

You must be logged in to reply to this topic.