Widget upload sources

  • This documentation is for the version 3.2.2 of the widget. If you're looking for the widget v2 docs, check here.

Uploadcare Widget is designed in such a way that every upload source is represented by a separate tab in the widget interface. Our widget lets you upload content from local and cloud storage, URLs, social media, and many more. The complete list follows.

Upload sources supported in the version 3.2.2

CodeFile SourceDefault
fileLocal diskOn
cameraLocal webcamOn
urlAny URLOn
facebookFacebookOn
gdriveGoogle DriveOn
gphotosGoogle PhotosOn
dropboxDropboxOn
instagramInstagramOn
evernoteEvernoteOn
flickrFlickrOn
skydriveOneDriveOn
boxBoxOff
vkVKOff
huddleHuddleOff

Configuring sources for your widget

We get you might not want the complete set of upload sources in your widget. You can configure your own set by providing names of needed sources as space-separated values globally via the UPLOADCARE_TABS option or locally via data-tabs.

Configuring the set of sources globally,

<script>
  UPLOADCARE_TABS = 'url file facebook';
</script>

Configuring the list of sources locally,

<input type="hidden" role="uploadcare-uploader" name="my_file"
  data-tabs="url file facebook"
/>

We’re always happy to help with code, integration, and other stuff. Search our site for more info or post your question in our Community Area.