Decode base64 image from API

Hello,

Can anyone point me into the right direction on how to decode a base64 image into the database as an image? I can only get the content.

Also it’s weird that in the data type “file” field I get the base64 content but if I take a look on the Files section in Bubble I can see the image. How is this possible?

@NigelG You know a bit of this :slight_smile:, can you take a look?

Thanks a lot!

There are several plugins for this. Try to search plugins with “base64” query.

Thanks @shpak.serhiy

I´ve used this method which works pretty fine for showing on the page but not for saving it: Base 64 Encoded Image - #2 by kenlaji