File uploads
This section covers elements that lets your users upload files and images
Last updated
This section covers elements that lets your users upload files and images
Last updated
File upload elements let your users upload any kind of file to the Bubble server. Bubble has two different elements for uploading files: one for general file uploads and one specifically for images.
Uploaded files are public by default, meaning that anyone with the URL can access it. If you want your files to be securely private, you need to check the Make this file private on the uploader element and set up your Privacy Rules correctly. This applies both to images and other files. You can read more about these settings in the core reference articles below:
Reference: Uploading files to be private Reference: Protecting uploaded files with Privacy Rules Video tutorial: Setting up Privacy Rules
The File uploader element is used for uploading non-image files. It also supports uploading image file types, but the Image uploader element offers some additional features for that.
You can set a maximum size for the uploaded file. The File uploader element introduces a new action that lets you cancel an ongoing upload.
The Image uploader element is used for uploading images and will give you a preview of the image after the upload. If you have set an image as its initial content it will also show that image, making it useful for images that are sometimes updated, like profile pics.
The Multi-FileUploader is similar to the regular file Uploader, but with two key differences:
It allows uploading multiple files
It allows you to set up a drop area where your users can drag-and-drop files
It allows you to set a maximum number of files to upload and an initial list of files to display upon page load.
The Multi-FileUploader element is a plugin. It's made by Bubble but it needs to be installed in your app before you can use it. Search for Multi-FileUploader in the plugin store to install it.