Bubble Back End Utilities

Hello,

Does anyone understand how to use this to convert base64 to an image?

From what I have read it seems the way I have it set up should work but it doesn’t. So apparently I’m doing something wrong.

Here’s the data I’m trying to convert:

image

But nothing happens when I run it.

Any ideas?

Thanks,
George

I think you have to do the data :split by "," :item #2 to grab only the Base64 data not the data:image/png;base64, portion.

Also note it says its limited to 6MB in file size, and Bubble objects are limited to 10MB so keep that in mind (if you have this base64 data in your database at some point)

Check your file manager see if its putting some kind of file there right now even if its being corrupted

1 Like

Hi @tylerboodman

That made sense. Forgot about that. Been a while. However it’s still not working. Here’s how I have it set up


And here’s the data. I checked it out on a test site and it’s valid base64 so I’m wondering if maybe this doesn’t do what I thought it did?
image

Probably still need the file extension like test.png in the name, and maybe try without “Attach to” since that might be for private files only :grimacing:

Otherwise we can summon Aaron the one who made the plugin maybe it stopped working.

Or i think there’s another plugin Zeroqode makes to upload base64 as a file. I believe it can be done with the API connector too actually

1 Like

Set this up in your API Connector:

@tylerboodman

Suing what you suggested I got it figured out. I put the file extension back in and took away the attach to.

Then added this workflow step:
image

Seems convoluted but it works. I’d never have gotten there without you.

Thanks!

1 Like