# Images break when the page is auto-translated by a browser translation extension (S3/R2 + CDN is configured correctly)

**URL:** <https://meta.discourse.org/t/images-break-when-the-page-is-auto-translated-by-a-browser-translation-extension-s3-r2-cdn-is-configured-correctly/382980>\
**Category:** Bug\
**Created:** [September 17, 2025, 2:57pm UTC](https://meta.discourse.org/t/images-break-when-the-page-is-auto-translated-by-a-browser-translation-extension-s3-r2-cdn-is-configured-correctly/382980 "2025-09-17T14:57:36Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![hel\_Sinki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hel_sinki/32/525916_2.png) [@hel\_Sinki](https://meta.discourse.org/u/hel_Sinki)\
**Post date:** [September 17, 2025, 2:57pm UTC](https://meta.discourse.org/t/images-break-when-the-page-is-auto-translated-by-a-browser-translation-extension-s3-r2-cdn-is-configured-correctly/382980/1 "2025-09-17T14:57:36Z")

</div>

When a browser translation add-on rewrites the topic page, some post images stop rendering. If I disable the translator, all images show and the domains are correct. This looks like the translator mutates the cooked HTML in a way that bypasses Discourse’s upload URL rewriting/lazy-load logic.

**Environment**

- Discourse: 3.6.0.beta1-dev

- Hosting: standard Docker app container

- Uploads: Cloudflare R2

- With the translator **disabled** , reloading the same topic renders all images normally. Right-click “Copy image address” then shows the expected CDN URL.

 ![Screenshot 2025-09-17 at 07.56.57](https://global.discourse-cdn.com/meta/original/4X/4/4/3/443d482dd5dbe14a66427c269ffbd1cc0e7f0933.png)

---

_[View the full topic](https://meta.discourse.org/t/images-break-when-the-page-is-auto-translated-by-a-browser-translation-extension-s3-r2-cdn-is-configured-correctly/382980)._
