WooCommerce order email images broken due to Cloudflare – images load in browser but not in emails

R

Rohit Kumar

I’m facing an issue with WooCommerce order emails where images appear broken in emails (Gmail / Outlook), but the same image URLs load perfectly in the browser.

Setup:

Cloudflare is enabled (Free plan)

DNS is fully managed by Cloudflare

Website works fine, only email images are broken

What I’ve tried

Verified image URLs are correct and publicly accessible

Disabled hotlink protection

Created Cloudflare Page / Cache Rules for:

https://example.com/wp-content/uploads/ with:

Cache Level: Bypass

Browser Integrity Check: OFF

Security Level: Essentially Off

Confirmed mail-related DNS records (MX, mail subdomain) are DNS only (gray cloud)

Tested WooCommerce test emails (same issue)

Cloudflare still seems to treat email clients as bots and blocks image loading.

Observation


  • Browser requests work


  • Email clients (Gmail / Outlook) fail


  • Cloudflare challenge is likely blocking non-browser user agents


  • Cloudflare dashboard does not show WAF options (free plan)

What is the correct / recommended way to allow WooCommerce email images when using Cloudflare?

Specifically:


  • Should /wp-content/uploads/ be served from a non-proxied (DNS only) subdomain?


  • Is there a reliable Cloudflare rule that works on the free plan?


  • How do others handle Cloudflare + WooCommerce email images without disabling Cloudflare entirely?


  • Any best-practice or production-safe solution would be appreciated.

Continue reading...
 
Back
Top Bottom