Uploadcare jQuery File Uploader ⚠️ Deprecation notice: jQuery File Uploader We’re announcing that the jQuery File Uploader package is officially deprecated as of September 1, 2025. Moving forward, we will no longer release updates or new versions of this widget. Support will also be discontinued, except in cases where critical security vulnerabilities need to be addressed. If you're using jQuery File Uploader in…
We’re announcing that the jQuery File Uploader package is officially deprecated as of September 1, 2025. Moving forward, we will no longer release updates or new versions of this widget. Support will also be discontinued, except in cases where critical security vulnerabilities need to be addressed.
If you’re using jQuery File Uploader in your project, we recommend considering our web-component-based File Uploader, which contains all the latest features and updates.
We understand that this might affect your workflows, and we are committed to providing as much support as possible during this transition. If you have any questions or concerns, please reach out to us at [email protected]
jQuery File Uploader is a part of the Uploadcare
file handling platform.
Uploads affect your web or mobile app performance. The widget ensures you
integrate file uploading into your product in minutes, no matter the development
stack.
The widget features:
Drag&Drop selection.
Over a dozen upload sources including social media
and cloud storage providers.
Multiple file upload with individual progress bars.
File moderation through validation by file size, extension or MIME type.
uploadcare.full.js — a full bundle with built-in jQuery.
uploadcare.js — a bundle without built-in jQuery.
uploadcare.api.js — a bundle without UI of the widget and built-in jQuery
JavaScript API only.
uploadcare.lang.en.js — a bundle without built-in jQuery, en locale only.
Each bundle has its minified version. Just add .min before .js,
e.g. uploadcare.min.js.
By default, uploadcare.js is exported for npm and other package managers.
Install
You’re free to choose from the install methods listed below.
NPM
npm install uploadcare-widget
import uploadcare from'uploadcare-widget'
CDN
Embed our client library via the <script> tag in the <head>
section of each page where you’d like to use the uploading widget.
Here is the CDN link to the current widget version with built-in jQuery,
By default, the library looks for inputs with the specified
role attribute and places widgets there.
Once a file is uploaded, this <input> gets a
CDN link with a file UUID. Your server then
receives this link, not file content.
We suggest placing the widget somewhere at the top of your form.
Unlike regular inputs, our widget starts uploading files immediately
after they get selected by a user, not on form submission.
That way users can fill out the rest of your form while an
upload is in progress. This can be a real time saver.
The widget is highly customizable with widget options. Check out the existing
options and ways to set them in UC
docs.
JavaScript API
You might not want to use all the features that
our widget exhibits.
Or, perhaps, you might want to redesign the user experience
without having to reinvent the wheel.
Maybe, you’re in pursuit of building a UI on top of the widget.
For all of those use cases, we provide a
JavaScript API.
Feel free to control the default widget with it,
or make use of its standalone components that
can be combined with your solutions.
UploadClient
If you want to use Upload API directly and don’t need a widget, try upload-client — a 7.3 kB JS library for uploading files.
Localization
It’s possible that your locale is not available in the widget yet.
If that’s the case, contributing your locale might be a good idea.
This can be done by forking the main repository
and adding a localization file here.
The widget should work perfectly in a couple of the latest versions
of major desktop browsers: Internet Explorer, Edge, Firefox, Google Chrome,
Safari, and Opera. It is most likely to run well in older versions
of major browser too, except for Internet Explorer < 10.
If you need the support for older browsers including IE8, consider using
the widget v2 instead.
If you think you ran into something in Uploadcare libraries which might have
security implications, please hit us up at [email protected]
or Hackerone.
We’ll contact you personally in a short time to fix an issue through co-op and
prior to any public disclosure.
Feedback
Issues and PRs are welcome. You can provide your feedback or drop us a support
request at [email protected].
评论