# Raw\_email post field slaat afbeeldingen op als Base64-strings

**URL:** <https://meta.discourse.org/t/raw-email-post-field-stores-images-as-base64-strings/233298>\
**Category:** Product Support\
**Created:** [19 juli 2022 om 14:41 UTC](https://meta.discourse.org/t/raw-email-post-field-stores-images-as-base64-strings/233298 "2022-07-19T14:41:15Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [19 juli 2022 om 14:41 UTC](https://meta.discourse.org/t/raw-email-post-field-stores-images-as-base64-strings/233298/1 "2022-07-19T14:41:16Z")

</div>

Hi,

Since I’m thinking of changing my CDN (Stackpath) and I know that Discourse dynamically sets the CDN URLs in links, I did nonetheless a search for the string “stackpath” in my forum’s posts to see how many occurrences there would be.

It returned between 300 and 400 posts.

I downloaded the data, and I was surprised that it’s almost a 100 MB file!

Apparently, it’s because images in posts sent by email seem to be present as base64 strings in the **raw\_email** field.

So… As I see it, it doesn’t seem to be an issue really, but I’d like to have some clarifications about this.

Why are images stored like this in the **raw\_email** field? Is there no better way to do so?  
Can it impact performances in any way? What about forums where a lot of people reply by email and with images involved? Could we consider that it takes too much space for not much info?

Any explanation or additional information about that is welcome. 🙂

---

_[View the full topic](https://meta.discourse.org/t/raw-email-post-field-stores-images-as-base64-strings/233298)._
