I’m trying to get the Bubble native ‘Multi-file Uploader Dropzone’ to work with my app, and i’ve got it ‘working’, but with a few issues.
The EXIF data seems to be removed on upload. I’m using a third party plugin that works on the simple image uploader, but on this it doesn’t (even when uploading one image). Even when saving the image on my desktop I can see the metadata is there prior to upload, and gone after.
There’s a horrible green ‘loading’ state that I just can’t shake. I was hoping to be able to hide the element immediately after selecting a file, but that doesn’t seem possible. You can hide it as soon as the images are visible on screen, but with Bubble’s speed that can be 10/20 seconds per image. It’s really nasty.
Ah, yeah it shows how to add elements to show the images, but not hide the green thing. She even says in the video “you still see this, but it’s better”.
I want to:
Click on element
Opens native file uploader
Click on files
Close file uploader and immediately hide element
When image is visible onscreen, show repeating group of images
2 problems:
I can’t work out how to hide the element when it’s clicked:
“Element value is changed” doesn’t update until the image has been uploaded (i.e, you’re seeing the green thing)
“Element is pressed” doesn’t have this option for this element. And wouldn’t know if you added an image or closed the native file window.
The image believes it’s visible when the white space appears, not when the image is actually rendered on screen. There were a few other posts about this issue in bubble, but no clear resolution.
I haven’t used the multi-file uploader, but what I do with the regular uploader is a hide it completely behind some element. Then use a bit of JavaScript to click that upoader And you can use actions and workflows to manage and display the files. I think it should be possible to make it look nice in your case too.
Maybe it’s a mac thing, copy/pasting from your Bubble workflow instantly worked, whereas copy/pasting from this page didn’t. Perhaps the ‘Mac Comma’? Is that still a thing?
Hey @stone. I’ve got another Javascript (and related) conundrum…
I’ve got an event when the fake button (as per above) is clicked, that a state:spinner=yes happens. However, that occurs before the user has selected files on the native pop up.
The other side of the process, I have a ‘visible=yes’ event to hide the spinner when the image has loaded. However, I can’t seem to launch it at the right time.
Really I’d want to open the spinner after the multi-uploader is uploading. But the ‘count<0’ only occurs once an image is loaded on page.
Inside the multi-uploader there’s no ‘loading=yes’ event.
Any ideas how you’d achieve this in Bubble? Perhaps it needs a question of its own.
Some uploaders, like the paid plugin AWS File Uploader, have special states to tell you when a picture is being uploaded.
The multifile dropzone plugin is pretty simple and does not have it.
It’s tricky then, if you want it to react exactly accurate. Maybe try making another thread for that yeah. One could always make a custom plugin for it but if you don’t know JS, but yeah, could be costly.
Or try some other (maybe paid) uploaders already out there. You can test paid plugins for free by going into the template plan on your app. Just make a template and connect to your app.