Better Uploader [UPDATED 2024] ☁

Thanks for the feedback Matt.

I took a look at the documentation, and OpenAI requires you to send the actual JavaScript File construct. I can’t expose the JavaScript a list of File’s in the bubble editor because the exposed state’s that I send back to bubble must be a basic type like text, number or boolean. However, there’s an easy workaround you can do to get around this. If you have a look at the BetterUploader docs you will find this in the exposed states section:

The uploader ID can let you easily have access to these files. For example,

const fileList = document.getElementById(uploaderId).files

Will return a FileList that you can use. I did this quickly in the browser inspector to show you (I know the ID because I used the inspector to get it. The ID is dynamic and changes every time you refresh the page):

With that FileList, you can write a small piece of code to upload the file :slight_smile:

I hope this helps!

Jonah

1 Like

Hey Jonah,

Few feedbacks and bugs I want to point out;

  1. Lets say I upload 20 images and 19 of them are feasible 1 is not, the raw data show doesn’t happen, I think I need to be able to show successfull ones and failed ones with failing reasons in a rg

  2. When files raw added, if I click to open files and then click cancel, already existing ones dissappear

  3. If ‘‘add to existing files’’ can happen via dropzone I can hide the better uploader and replace it with the one that has ‘‘add to existing files’’ I can work around file replacement issue

Hi @jonah.deleseleuc

We’re working on a client project using the Better Uploader plugin (really nice by the way). But, we’re having an issue with larger files (video upload .mov of 5GB ish).

I’ve checked the console and the final log is “Error: UserError FILE_TOO_LARGE”

What is the max file size supported please? We’re on the latest version 11.6.5 of the plugin and have the Large File Mode/performance mode checkbox enabled and set the Max File Size to be 100000.

Hey @jonah.deleseleuc
Bloody awesome plugin first of all. One issue I am having is the upload order when I am adding 15ish + photos via drag and drop. It seems to break and add some of the images from the bottom to the top. Heres a video showing that everything works fine when you select the images directly from the browser, but then breaks when you drag and drop them in: