Upload File Tags
Filestack makes it easy to add tags to your files while uploading. This feature allows you to organize and categorize your files efficiently, making it easier to search and retrieve them later. Tags can be customized to suit your specific needs, whether for personal or professional use, enhancing overall file management and productivity.
Try it yourself:
Define the upload tags programmatically in the uploadConfig
option.
See the Pen Untitled by Filestack Marketing (@ffkocvzk-the-encoder) on CodePen.
HTML
CSS
#picker {
height: 30vh;
width: 40%;
}
JavaScript
const apiKey = "YOUR_API_KEY";
const client = filestack.init(apiKey);
let options = {
displayMode: "inline",
container: "#picker",
uploadConfig: {
tags: {
customTag: "yo",
anotherTag: "red"
}
},
onUploadDone: (res) => {
const pre = document.createElement("pre");
pre.style = "background-color: rgb(204, 204, 204);margin-left: 50%;";
pre.prepend(JSON.stringify(res, null, 2));
document.body.appendChild(pre);
}
};
const picker = client.picker(options).open();
Start building your own file upload solution today.
PREVIEW
Users can preview their uploaded files directly inside the File Picker.
CONNECT TO 20+ CLOUD DRIVES
Connect your app directly to AWS, Facebook, Dropbox, Instagram, and more.
PROGRESS BAR UPLOADS
Give your users confidence that their files are on the way to the right destination.
MULTI-FILE UPLOADS
Let your users upload multiple files at one time for speed and simplicity.
CUSTOM CSS
Filestack blends seamlessly into your website or app. Ask about white-labeling.
CLIENT-SIDE CROP
Users can crop files to perfection before sending them to your website or app.
UNLIMITED UPLOADING
Upload any file type, from any local or cloud source, at any scale.
WEBSITES & HTML
Filestack can even load web content from any public URL and capture the rendered page as an image. Perfect for generating screenshots, previews, or converting HTML-based content into other formats.
SECURE CLOUD STORAGE
Store uploads directly in your cloud storage for ease and accessibility.
"Being smart here, in my opinion, is seriously looking at Filestack to give you a fantastic uploading experience, while you spend your time on your product vision, not already-solved problems."
— CHRIS COYIER, FOUNDER OF CSS-TRICKS & CODEPEN