Multi-File Upload Button is Now Available!

The new & improved Upload button allows you to upload up to 10 images and videos with a single button!
We’ve also introduced an improved Viewer behavior , including progress indications of the upload process, success indications, and informative error messages to give site visitors a clear understanding of their upload status! :fire:

Why did we do it?
A multi-file upload button has been a highly requested feature by the Velo Masters community as well as Wix Forms & Data Binding users for a long time.

What’s changed?
The current function of startUpload() has been deprecated and we’re glad to introduce the new uploadFiles() function, which returns an array of files rather than a file.
Keeping Velo users in mind, we developed this component with as much customization exposed on our API as possible.

Current rollout status:
Opened to 100% registered English users of Data-Binding & Velo.
Up next: Expanding to all languages & adding Multi-File Upload as a Wix Forms field + Supporting multiple Documents.

For feedback or questions about the component or the API, please feel free to reach out to us as we’re constantly working on improving our input components.

4 Likes

It looks like this broke image uploading in general. Since yesterday, our file upload buttons are not working. There’s no error in the console. Looks like it’s timing out. Please check it

Made a test on a blank site with only 1 file upload button and one submit, button - also doesn’t work

**** Tried uploading screenshot here, but it gets stuck on 99%. Is the whole image upoading broken on the back end?

Hi Atanas,
This should be resolved now. Can you please try again and let us know? Thanks.

When users upload videos with this button, I’m assuming you can store these videos in the database like you can with images.

However, is there any limits to video size/length?

Hi Eaton,
You can upload up to 1GB per file. The total length of all video uploads depends on your plan (learn more here ).

For more information about file sizes and types, see the article here: https://support.wix.com/en/article/wix-media-supported-media-file-types-and-file-sizes

If I’m loading the files to a Collection, what should I set the Field Type to: String, Array, Object, Multi-Reference or Media Gallery?

Hi, I’m still not clear as to where these files end up once uploaded. Is it the media gallery? And how do I save them in a collection?

To answer the question you had earlier, you should set it to Media Gallery. Then you can connect the media upload button to that field in the collection.

Right, so how do I allow a user to upload a series of photos in a collection?

First add the dataset to the page you use for uploads, select the button then

  1. Click the Connect to data button

  2. Select the dataset where the images go

  3. Select the media field

Then add a button, also connect it to the dataset and make it submit when it’s clicked.

I did, but the button becomes disabled. Also, if I connect it directly, photos are uploaded immediately. Instead, I need to upload only when the user finishes entering info in other fields and I do formal checking of all fields. That’s an operation I do manually through code.

Is your database set up for users to submit data. If you go into Collecton Settings and then Additional Settings you might want to change it to Form submission

Also, you might have to change the Mode of the dataset to Write only

@simen

This is what I get. The photos you see properly loaded are the ones I get when I create the dynamic pages based on the sample code Wix provides, so they’re preloaded. When instead I try loading new images using an upload button from my form, I get the yellow exclamation mark telling me the format is incorrect.

Hi everyone,

I’m trying to increase the upload limit of the upload button (images and video to a gallery) to 20 but it’s not working. Any advice?

Here’s the code I wrote:
$w . onReady ( function () {
$w ( ‘#uploadButton1’ ). fileLimit = 20 ;

});

Hi,
I have some personalised photo products where customers need to upload photos. Am I able to achieve it? Have upload button on those products only? If so, how do I do it please?

The upload button in Wix Forms only allows you to upload 1 file. I upgraded and paid a lot of money to upgrade to that button and it doesn’t work…