App for Cloudflare® Pro

App for Cloudflare® Pro 1.10.0

  • Item seller Item seller Shawn
  • Featured

Missing Images

inklink

New member
Suddenly, in the last 4 days, all of our images that are being uploaded are missing.
 

Attachments

  • Screenshot 2026-11-24 at 11.09.09 AM.webp
    Screenshot 2026-11-24 at 11.09.09 AM.webp
    40.5 KB · Views: 0
It's really 2 problems.

It exists but it's shown as missing in the media library (see screenshot):

This one is totally missing in the media library and on this post even though it exists on R2:

Note: they were only uploaded without editing or changing anything
 

Attachments

  • Screenshot 2026-11-24 at 12.56.38 PM.webp
    Screenshot 2026-11-24 at 12.56.38 PM.webp
    19.8 KB · Views: 0
  • Screenshot 2026-11-24 at 12.58.05 PM.webp
    Screenshot 2026-11-24 at 12.58.05 PM.webp
    17.1 KB · Views: 0
Looking at that particular example, whatever is generating the image in the post looks like it's doing it without triggering WordPress's srcset filter. Looking at the underlying HTML code, it's presenting the default <img> src propertly, but not any of the alternates (via srcset attroibutes):

HTML:
<img fetchpriority="high" decoding="async" width="1024" height="790" src="https://media.manchester.inklink.news/2026/11/mww-1024x790.jpg" alt="" class="wp-image-292195" 
srcset="https://manchester.inklink.news/app/wp-content/uploads/2026/11/mww-1024x790.jpg 1024w, 
https://manchester.inklink.news/app/wp-content/uploads/2026/11/mww-300x232.jpg 300w, 
https://manchester.inklink.news/app/wp-content/uploads/2026/11/mww-768x593.jpg 768w, 
https://manchester.inklink.news/app/wp-content/uploads/2026/11/mww-1536x1186.jpg 1536w, 
https://manchester.inklink.news/app/wp-content/uploads/2026/11/mww-2048x1581.jpg 2048w" sizes="(max-width: 1024px) 100vw, 1024px">

srcset is what modern browsers use to pick a variation size that works for it (the browser).

It's not an issue that the image doesn't exist on R2, it's an issue with how the post is resolving URLs. For example, taking a random variation as presented via srcset:

https://manchester.inklink.news/app/wp-content/uploads/2026/11/mww-300x232.jpg (it's missing)

However, it exists on R2 in it's expected location here:


I'm guessing, it's something called Kadence Advanced Gallery Block?

Kadence (or whatever it is) should be using the wp_calculate_image_srcset filter that is part of WordPress core whenever they are generating srcset URLs, which it appears they are not.

If it's not possible for them to correct it on their end, an alternate would be to automatically redirect an old URL to the new URL with Cloudflare redirects (this works best when everything has been moved to R2, otherwise you need to pick and choose individual URLs to redirect). You can find info on how to set that up here:


TL;DR: the "clean" way is to have the theme/plugin generating the srcset URLs to leverage the filter that's intended for that as part of WordPress core. The alternate is redirect the old URLs to the new.
 
I already set up the redirect rule. Let me see if Kadence has a srcset feature.
In all likelihood, it's going to be an internal function rather than a feature you can change via settings.

If you want to share your redirect rule setup, I could help you get it working (it's not working as it is).
 
There's a whole lot of CSS and HTML attached to that image block that implies it's Kadence (I never heard of Kadence before I saw that). But if it's not Kadence, it's *something* that's doing it's own thing with srcset. Is it an actual WordPress image block? If it's straight HTML, WordPress doesn't trigger image specific filters on it (it does for image blocks).
 
Also the image shows up on the editor page, but not on the frontend (see screenshots)
 

Attachments

  • Screenshot 2026-11-24 at 2.26.40 PM.webp
    Screenshot 2026-11-24 at 2.26.40 PM.webp
    341.9 KB · Views: 0
  • Screenshot 2026-11-24 at 2.26.46 PM.webp
    Screenshot 2026-11-24 at 2.26.46 PM.webp
    221.9 KB · Views: 0
We weren't having these issues until 4 days ago. Did you update your plugin during that time?
No, there were no changes on this end (also the Pro version can’t auto-update anyway since it’s not on wordpress.org).

Do you have a test environment where you would be able to disable themes/plugins to try and figure out what’s interfering?
 
No. The site as it is is too unwieldy right now because of the tens of thousands of images.

It's on Kinsta so will be asking them after the holidays to create a staging site.

I may though just disable all the plugins on Thanksgiving when no one will be on the site.
 
Best to find the underlying issue as the long term solution (of course), but if you want to post your redirect rule, I can at least help you get that working for the time being.
 
ok, so the client changed out the image, and now they're loading in the post, but the thumbnails are not loading STILL in the media library
 

Attachments

  • Screenshot 2026-11-24 at 6.08.52 PM.webp
    Screenshot 2026-11-24 at 6.08.52 PM.webp
    303.2 KB · Views: 0
  • Screenshot 2026-11-24 at 6.16.52 PM.webp
    Screenshot 2026-11-24 at 6.16.52 PM.webp
    423.8 KB · Views: 0
I'm on the chat with Kinsta the web host. This is what they say:

"I do see you are using a personal Cloudflare account as well, Could you clear the cache there too? It seems that may be impacting the thumbnails since I do see the images are showing a little orange cloud on them.

Now as for the missing images, on this page, they are showing this format for some reason: a double domain call instead of a single one, this is generating the 404s. Maybe the R2 uploads are doing so, but I've no way to prove it, but perhaps you can check if there is anything in R2 doing this, if you check the URL as normal it works"
 
We have a Cache Uploads rule in Cloudflare, should I disable it? Or change it?
 

Attachments

  • Rules-inklink-news-Inklinkcreative-gmail-com-s-Account-Cloudflare-11-24-2026_06_28_PM.webp
    Rules-inklink-news-Inklinkcreative-gmail-com-s-Account-Cloudflare-11-24-2026_06_28_PM.webp
    391.8 KB · Views: 0
Kinsta said the following:
"
The Cloudflare redirect might be the problem

concat("https://media.manchester.inklink.news", substring(http.request.uri.path, 23))

Seems to be adding the extra URL from here, re uploading them seems to be removing them, you can try deactivating it, as for the thumbnails, they may need to be generated; we can run a regeneration command thou it will take a while to complete."
 
Back
Top