Better Uploader [UPDATED 2024] ☁

Hey @jonah.deleseleuc, it looks like there’s a bug with removing a file from a Better Uploader when you drag & dropped the file in

@jonah.deleseleuc

i have this issue when i use better file previewer to display files as miniatures and chose “preview file” as no it jumps and blinks like this.. i have tried everyhting but cant seem to fix this.. can you help out?

Hi Jonah,

Have you encountered issues with how a Raw Data image is rendered in the Repeating Group? When I only select 1-3 images, it renders fine, but when I select more, some images do not render at all (even the fallback image) and some others would show twice. Interesting bit is that once the files are uploaded to cloud, they show perfectly.

Many thanks for your help!

Tim

EDIT: when I select the photos one by one (using “Add File to Seletected BU”), they all show up fine. It looks like the RG is having issues generating many (3-15) Better Uploader files at once.

Hey @jonah.deleseleuc, whenever an uploader is empty and you try to upload, a message pops up saying so, but then in the console, it’s showing that it’s hitting a /null endpoint of your app hundreds of times, which causes you to get rate-limited from your own app.

What causes this / How can I fix this?

Simply run the Reset Group action on the parent group. For more basic information on the plugin, see the Docs

This works just fine for me on the demo page. Is anyone else experiencing this issue?

HEIC files are working fine on my side, what browser are you using?

The documentation is up to date. To save a file in the database, use the send files to cloud action in Workflow A. Create a new workflow and this time use the When the upload operation is complete or the a file has been uploaded event, we’ll call this Workflow B. To save the file to a DB object, you need to reference Better Uploader’s uploaded data in workflow B, because this event fires when the files have finished uploading.

Thanks for reporting this issue, I can confirm it on my side.

11.4.1 Fixes this :slight_smile:

Awesome! I’m not seeing 11.4.1 yet?

Sorry, there was a small typo. It’s version 1.4.0 :slight_smile:

Hey @jonah.deleseleuc, I keep getting rate limited by Bubble because for some reason the Better Uploader plugin keeps hitting example.com/null (shown in the console)

What causes this to happen? For me, I’m noticing it happen when I have a RG of raw files, then remove one, then add one again, then it keeps trying to hit that null endpoint.

Any ideas?

Johnny and I fixed his issue privately

1 Like

NEW UPDATE: UPGRADE TO 11.5.0

Added a new action ‘Swap Selected Files Order’

You can now swap the order of two selected files! For instance, the user selects two images:

In your workflow, run the new action:

You need to provide the raw data images you’d like to swap. For example, here we’re swapping item # 1 (Rabbit) and item # 2 (Cat). When I run the workflow, they get swapped →

You can run this action as many times as you want, and the images get swapped over and over. One thing to note is that this works a lot better with ‘Performance Mode’ enabled, which uses Blob Object URLs instead of base 64 data URLs (but comes with the usual downsides) since the browser doesn’t need to re render the files.

2 Likes

Is there any chance you can include each file’s size in the available data when uploading multiple files? At the moment there is only the file url and file name to use as dynamic data. File size is available when uploading a single file but not multiple. This is for using in scheduling a backend workflow on a list where I want to create one “thing” per file and populate the file size. @jonah.deleseleuc

I am anti plugin by nature, I rarely use them. All I can say is this looks strong. Strong product

1 Like

Thanks for your feedback. Me too I prefer to stay away from plugins when it’s not necessary. However, there isn’t any way to work with local files without touching bubbles servers without using plugins, so here we are :slight_smile:

1 Like

Just started implementing, two things, 1) I think as a best practice when a file(s) dropped it needs to automatically add to existing files. 2) it would be very nice if initialisation can be done via condition

Hi @jonah.deleseleuc love that fact Better Uploader gives base64 access without storing the file on Bubble servers. So useful for PDF APIs.

However, can Better Uploader send a file as -F file="@myfile.pdf"

like with the OpenAI files API → https://platform.openai.com/docs/api-reference/files/create

Needing to store files as private and yet still send them to 3rd party APIs still seems to be a pain with Bubble. So is it possible to send files to OpenAI without storing them on Bubble?

Also do you have a good method/workaround to uploading files, making private and sending to APIs when base64 isn’t an option. Thanks!

2 Likes