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

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 ?

Yes this can be done.

1 Like

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

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).