For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
GuidesIntegrationsAPI ReferencesRelease notes
GuidesIntegrationsAPI ReferencesRelease notes
  • Introduction
    • Overview
    • Quick Start
    • Projects
    • Billing
  • Uploading
    • Overview
      • Overview
      • Options
        • Overview
        • Widget reference
        • Uploading files
        • File groups
        • File validation
        • Upload dialog and panel
        • Handling custom tabs
        • Controlling drag and drop
        • Widget tabs styling
        • Widget initialization
      • File validation
      • Image editor
      • Security settings
    • Uploading files with API
    • File analysis on upload
  • Optimization
    • Overview
  • Transformations
  • Delivery
    • Overview
    • On-the-fly operations
    • CDN settings
    • Proxy
  • Security
    • Overview
    • Validation and moderation
    • Signed uploads
    • Signed URLs
    • Unsafe content moderation
    • Malware protection
    • HIPAA workflows
  • Storage
    • Uploadcare storage
    • Cloudflare R2
    • Google Cloud Storage
    • Azure Blob Storage
  • File management
    • Overview
    • Managing files
    • File groups
    • Webhooks
    • Arbitrary file metadata
  • CLI
    • Overview
    • Configuration
  • Migration
    • Migration to Uploadcare
    • Migration from Filestack
Dashboard
LogoLogo
UploadingjQuery UploaderWidget API

jQuery File Uploader API reference

Was this page helpful?
Previous

jQuery File Uploader JavaScript API Reference

Next
Built with
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.

We recommend considering our web-component-based File Uploader.

Uploadcare jQuery File Uploader API is an extensive set of tools that allows you adjust File Uploader behavior and implement various uploading workflows. For example, upload files from URL, moderate uploaded content, adjust the uploading widget appearance to match your website or app.

As stated in the widget configuration section, jQuery File Uploader options can be set in three ways.

  • Globally, on page load.
  • Locally, when the new uploading widget object is created.
  • By passing the settings object.

JavaScript global variables will go in your <script> tag:

1<script>
2 UPLOADCARE_PUBLIC_KEY = 'YOUR_PUBLIC_KEY';
3 UPLOADCARE_LOCALE = 'ru';
4</script>

Replace YOUR_PUBLIC_KEY with your public API key.

Local options can be set in the <input> element as data attributes:

1<input type="hidden" role="uploadcare-uploader"
2 data-public-key="YOUR_PUBLIC_KEY"
3 data-images-only
4/>

You can also pass most of the uploading widget options as an argument holding the settings object to the methods listed in this JavaScript API reference. For instance:

1uploadcare.openDialog(null, {
2 publicKey: 'YOUR_PUBLIC_KEY',
3 imagesOnly: true,
4 crop: '300x200'
5});