# Store image files in a "Thing" rather than in Storage by converting it to Base64 text

**URL:** <https://forum.bubble.io/t/store-image-files-in-a-thing-rather-than-in-storage-by-converting-it-to-base64-text/243594>\
**Category:** Database\
**Created:** [January 26, 2023, 4:36pm UTC](https://forum.bubble.io/t/store-image-files-in-a-thing-rather-than-in-storage-by-converting-it-to-base64-text/243594 "2023-01-26T16:36:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gideonsymbiote](https://avatars.discourse-cdn.com/v4/letter/g/c4cdca/32.png) [@gideonsymbiote](https://forum.bubble.io/u/gideonsymbiote)\
**Post date:** [January 26, 2023, 4:36pm UTC](https://forum.bubble.io/t/store-image-files-in-a-thing-rather-than-in-storage-by-converting-it-to-base64-text/243594/1 "2023-01-26T16:36:14Z")

</div>

Hello everyone,

From what I understand, Bubble limits the storage (10, 50GB depending on the plan you have chosen) but not the entries in the Database (neither in number nor in size).

So I wondered if it was wise to save files (for example images) in the “Database” as a field in a Thing, by converting them to Base64 (plain text, without associated URL) to bypass the limitation ?

---

<div class="post-metadata">

**Author:** ![doug.burden](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/doug.burden/32/179967_2.png) [@doug.burden](https://forum.bubble.io/u/doug.burden)\
**Post date:** [January 26, 2023, 4:55pm UTC](https://forum.bubble.io/t/store-image-files-in-a-thing-rather-than-in-storage-by-converting-it-to-base64-text/243594/2 "2023-01-26T16:55:03Z")

</div>

Yes this can be done.

---

<div class="post-metadata">

**Author:** ![di\_lucena](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/di_lucena/32/50410_2.png) [@di\_lucena](https://forum.bubble.io/u/di_lucena)\
**Post date:** [January 26, 2023, 6:31pm UTC](https://forum.bubble.io/t/store-image-files-in-a-thing-rather-than-in-storage-by-converting-it-to-base64-text/243594/3 "2023-01-26T18:31:06Z")

</div>

How would you display the images in the app when necessary?  
I believe the image element doesn’t decode the base64 content.

---

<div class="post-metadata">

**Author:** ![gideonsymbiote](https://avatars.discourse-cdn.com/v4/letter/g/c4cdca/32.png) [@gideonsymbiote](https://forum.bubble.io/u/gideonsymbiote)\
**Post date:** [January 26, 2023, 7:11pm UTC](https://forum.bubble.io/t/store-image-files-in-a-thing-rather-than-in-storage-by-converting-it-to-base64-text/243594/4 "2023-01-26T19:11:29Z")

</div>

According to the tests I did the image is correctly interpreted as an image (I used a plugin that compresses the image and encodes it in Base64).
