Filerobot Uploader
Watch Star Fork Tweet

Share Your Images in Seconds!

The Filerobot Uploader is a multi-function Uploader that will make uploads super easy on your web and mobile applications. With few lines of code, you will get a state of the art Uploader and enable your users to upload media, files and any assets via Filerobot's reverse CDN. Files are stored into scalable and flexible Cloud storage, optimized and delivered over CDN to your end users rocket fast. Features include inline image editing, auto-tagging, auto-cropping and many more.

View on GitHub
Fork me on GitHub
placeholder
  • File name: placeholder
  • Public link: https://cdn.scaleflex.it/filerobot/assets/no-image-icon.png
  • Size: 28.8 KB
  • First Uploaded: Monday, Jan 28, 2019, 7:53 PM
  • Last Modified: Monday, Jan 28, 2019, 7:53 PM
  • Description: Placeholder icon
  • Tags: placeholder, icon, image icon

Ready to get started?

To use the plugin, you will need a Filerobot token. Don't worry, it only takes seconds to get one by registering here. Once your token is created, you can configure it as described below. This token allows you to use 25GB of image cache and 25GB of worldwide CDN traffic per month for free.

Install Filerobot Uploader via npm

npm i filerobot-uploader --save

Simple usage

import React, { Component } from 'react';
import { render } from 'react-dom';
import FilerobotUploader from 'filerobot-uploader';

const config = {
  container: 'example',
  filerobotUploadKey: '0cbe9ccc4f164bf8be26bd801d53b132'
};

class App extends Component {
  state = {
    isShow: false
  }

  render() {
    return (
      <div>
        <h1>React Example</h1>
        <button onClick={() => { this.setState({ isShow: true }); }}>Upload</button>

        <FilerobotUploader
          opened={this.state.isShow}
          config={config}
          onClose={() => { this.setState({ isShow: false }); }}
          onUpload={(images) => { console.log(images[0]); }}
        />
      </div>
    )
  }
}

render(<App/>, document.getElementById('app'));

Get your Filerobot tokens here.

…and you're done! See the full documentation here.

edeit on codesandbox

Include the following script into your project

<script src="https://cdn.scaleflex.it/plugins/filerobot-uploader/2.15.4/filerobot-uploader.min.js"/></script>

Initialize Filerobot Uploader

<script/>
  const config = {
    container: 'example',
    filerobotUploadKey: '0cbe9ccc4f164bf8be26bd801d53b132'
  };
  const onUpload = (files) => {
    console.log('files: ', files);
    alert('Files uploaded successfully! check the console to see the uploaded files');
  };
  const uploader = FilerobotUploader.init(config, onUpload);
  ...

Get your Filerobot tokens here.

Open Filerobot Uploader

  ...
  uploader.open();
</script>

…and you're done! Visit the full documentation here.

edeit on codesandbox

Any questions?

Contact us at hello@filerobot.com, our experts will be happy to help!

Filerobot UI family:
  • JS Cloudimage Responsive
  • React Cloudimage Responsive
  • Angular Cloudimage Responsive
  • JS Cloudimage 360 view
  • Image Editor

Made with ❤ in 2019 in Paris, Munich and Sofia by the Scaleflex team, the guys behind Cloudimage.io.
Powered by Filerobot. All rights reserved.
  • View GitHub
  • Current Issues
  • Documentation