I want my visitor to upload multiple files / images and intent so save the same in the database.
I have added an 'Upload' button from 'User Input'. But it allows user to only upload 1 file or image. My users are not able to upload multiple images / files.
Please help!
Old post, closed.
Add a new forum post if still need help.
@Henning Holm
Found your code pretty interesting. But I do not know where in my set of current code should i insert this set. I need one more button to be able to upload a 2nd video. below is the current set of code for 1 video upload
export function button2_click(event) {
if ($w("#uploadButton1").value.length > 0) {
$w("#text24").text = `Uploading ${$w("#uploadButton1").value[0].name}`;
$w("#uploadButton1").startUpload()
.then((uploadedFile) => {
$w("#text24").text = "Upload successful";
})
.catch((uploadError) => {
$w("#text24").text = "File upload error";
console.log(`Error: ${uploadError.errorCode}`);
console.log(uploadError.errorDescription);
});
}
else {
$w("#text24").text = "Please choose a file to upload.";
}
}
I tried to overlay the 2nd uploadButton on top of the first, but I could not figure out if the code worked to expand the 2nd button after the first file was selected.
I'd be grateful if you could share your knowledge on this.
With all the goodwill I have for this important feature of uploading multiple files. One can't help but say a good word about the amazing development of WIX are really surprising and progressing great.
Perhaps WIX is working on the more important thing to improve site speed. Google gives them very bad cinnamon. It must be more critical.
Is Corvid by Wix actually by wix? If so, then it is part of a service as I pay a yearly subscription to be a wix customer.
It just seems every time I search for a feature I am after, the standard reply is 'vote for that feature' or 'its in development'.
Cant wait to search for something that says 'sure! its here'.
Seems to have been 'in development for a long time @Yisrael (Wix) ?
This is really poor service. Its a basic (and to me, obvious) feature to provide.
This would really be useful for us since we have a lot of webpages and photos.
Wait eagerly for such a feature to upload multiple files straight into a gallery.
This feature is currently in development. No definite release date.
Me too! Any update on the multiple upload? I have a custom Data that I need users to be able to upload images that they want in a gallery
Does anybody know if the multiple file/image upload feature has been completed or if there is an ETA?
How can we subscribe to updates on the status of this feature? I'd like to know when it is available.
any updates about this Multiple File / Image Upload using 1 button?
@Jianxian Li Also having a similar issue where I want users to add multiple images to an article they post. Is there a good workaround for this issue?
@amandasbridalcolorado Facing the exact same issue like you. Wondering have you figure out anything to workaround it? Or any further feedback from WiX?
Hello Yisrael,
We also are working to add a customer upload area for images. We have everything working except for the issue that it looks like many others are having which is that our customers do not want to only upload a single image but multiples. That being said, how do we overcome the single image file upload limitation for site visitors?
I have tried changing the data type to "media gallery" inside the database but the upload buttons do not support it and I believe "media gallery" is meant for site admins only so back to where we had started. I have also read through the looping code but feel like that is a bit of a crutch to just allowing our visitors to simply select more photos than 1 for the upload.
We are really needing this functionality as it impacts our ability to develop our marketing efforts.
Thanks!
I would like visitors to upload multiple photos so i can display multiple content off one database, however i cant seem to upload multiple photos at once. it just replaces each photos. Can you help me??
Thanks a lot for Yisrael and Anna
Hey Anna - thank you so much for pointing out the bad link. I corrected my original post.
Yisrael, you might sent the wrong link.
Siyamand, https://www.wix.com/code/home/forum/feature-requests this one is correct.
Sure, post your request there. The development team listens to comments and feedback from the users.