Hello,
I’m using the Croppie plugin (by Misha V) in my Bubble app to let users upload and crop an image before saving it to the database.
However, I’m facing an issue where the cropped image (Result image) is not being saved to my database field as expected.
Here’s my setup and what’s happening:
Current setup
-
Plugin: Croppie (free version by Misha V)
-
Dynamic image source:
PictureUploader_new's value -
Output format:
png -
Size:
viewport -
Workflow:
-
Step 1: Save Croppie A
-
Step 2: Create a new “Children” record
icon = Croppie A's Result image
-
Step 3: Hide popup
-
Issue
-
When I trigger the workflow, the
Childrenthing is created,
but theiconfield (image type) remains empty. -
The Croppie preview works fine (cropped area is displayed correctly).
-
It seems that the “Result image” is still in Base64 format, and not a valid Bubble file object or URL.
-
I tried calling “Save Croppie A” before creating the record, but the timing might be asynchronous (the Result image isn’t yet ready when the record is created).
What I’ve tried
-
Checked
Dynamic image=PictureUploader_new’s value:processed with Imgix -
Disabled “Attach file to thing type” (left blank)
-
Output format = PNG / Size = viewport
-
Tried using “Save Croppie A” → “Upload file” workflow (but “Upload file” doesn’t seem to recognize Base64 directly)
Questions
-
Does the free Croppie plugin actually output a file URL or only a Base64 string in
Result image? -
Is there a recommended way to convert the Croppie result into a proper Bubble file that can be stored in an “image” field?
-
Is the “Save Croppie A” action asynchronous? If so, how can I trigger a DB create action after the save is complete?
-
Should I use the paid version (Croppie Extended) to properly store cropped images in Bubble’s file storage?
Thank you very much for your help — I’d appreciate any guidance or a working example of how to correctly save the cropped image to Bubble’s database.
Best regards,
Mitsuharu