Paste image and save it

Does anyone know of a way to paste an image and save it in Bubble? I’ve searched and tried a few things but haven’t found a way that works.

Hey @gnelson ,

You can try using Bubble’s Rich Text Editor set to tooltip, basic mode. Pasting images in there will work, but you’ll then need to manipulate the value of the RTE to save the image itself – mainly finding the [img] and [/img] tags and replacing with nothing to extract the URL. From there, you can save to a normal image field in your DB.

That’s where I’d start!


Cheers, Gaby
Co-Founder at Coaching No Code Apps
Free Bubble Masterclass
Private Help

2 Likes

Hi @romanmg

This works. Thanks for your help!
George

I am able to find and replace [/img] no problem but the [img] in mine is this and the width changes all the time. [img width=103px] How can I find and replace that with nothing?
Thanks