File Uploader API is an extensive set of tools that allows you adjust File Uploader behavior and implement various uploading worfkflows. For example, upload files from URL, moderate uploaded content, adjust File Uploader widget appearance to match your website or app.
- Globally, on page load.
- Locally, when a new File Uploader object is created.
- By passing the
<script> UPLOADCARE_PUBLIC_KEY = 'YOUR_PUBLIC_KEY'; UPLOADCARE_LOCALE = 'ru'; </script>html
YOUR_PUBLIC_KEY with your public API key.
Local options can be set in the
<input> element as data attributes:
<input type="hidden" role="uploadcare-uploader" data-public-key="YOUR_PUBLIC_KEY" data-images-only />html
You can also pass most of the File Uploader options as an argument holding the
settings object to the methods listed