![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
filerobot-uploader
Advanced tools
The Filerobot Uploader is a multi-function Uploader that will make uploads super easy in your web sites and apps. It is fast to integrate allows end users to upload media, files and any assets via Filerobot's reverse CDN. Files are stored into scalable an
The Filerobot Uploader is a multi-function Uploader that will make uploads super easy in your web sites and apps. It is fast to integrate allows end users to upload media, files and any assets via Filerobot's reverse CDN. Files are stored into scalable and flexible Cloud storage, optimised and delivered over CDN to your end users rocekt fast. Features include inline image editing, auto-tagging, auto-cropping and many more.
Use latest CDNized plugin version
<script src="https://scaleflex.airstore.io/filerobot/uploader/1.0.6/main.min.js"></script>
We provide easy way to integrate image uploader in your applications
<script>
let config = {
container: 'example',
filerobotUploadKey: '0cbe9ccc4f164bf8be26bd801d53b132',
openpixKey: 'xxxxxxxxxxxxxxx'
};
let onUpload = (files) => {
console.log('files: ', files);
alert('Files uploaded successfully! check the console to see the uploaded files');
};
let uploader = FilerobotUploader.init(config, onUpload);
uploader.open();
</script>
window.FilerobotUploader.init(config: {}, uploadHandler: callback)
: functionInitialization of Filerobot Uploader plugin.
window.FilerobotUploader.open(tab : string, options: {})
: functionOpen uploader modal.
tab: string (optional, default: 'UPLOAD') - allow to choose the initial tab (should be one of enabled modules)
options: {} (optional) - options for tabs
window.FilerobotUploader.close()
: functionClose uploader modal.
window.FilerobotUploader.unmount()
: functionDestroy uploader
$ npm install --save filerobot-uploader
We provide easy way to integrate image uploader in your applications
import React, { Component } from 'react';
import { render } from 'react-dom';
import FilerobotUploader from 'filerobot-uploader';
const config = {
modules: ['UPLOAD', 'MY_GALLERY', 'ICONS_GALLERY', 'IMAGES_GALLERY', 'TAGGING', 'IMAGE_EDITOR'],
uploadParams: { dir:"/demo_filerobot_en" },
filerobotUploadKey: '7cc1f659309c480cbc8a608dc6ba5f03',
container: 'scaleflex-tests-v5a'
}
class App extends Component {
constructor() {
super();
this.state = {
isShow: false
}
}
render() {
return (
<div>
<h1>React Example</h1>
<button onClick={() => { this.setState({ isShow: true }); }}>Click</button>
<FilerobotUploader
opened={this.state.isShow}
config={config}
onClose={() => { this.setState({ isShow: false }); }}
onUpload={(img) => { console.log(img) }}
/>
</div>
)
}
}
render(<App/>, document.getElementById('app'));
opened
: bool (required)default: false
Trigger to display the uploader widget.
initialTab
: string (optional)default: 'UPLOAD'
Allow to choose the initial tab. Should be one of enabled modules.
config
: object (required)Uploader config.
onClose()
: function (required)Close uploader widget.
onUpload(files: file[])
: function (required)Function to handle uploaded files.
container
: string (required)Filerobot Container name.
let config = {
...,
container: 'example'
};
filerobotUploadKey
: string (required)Unique upload key for Filerobot.
let config = {
...,
filerobotUploadKey: 'xxxxxxxxxxxx'
};
openpixKey
: string (required)Key for Openpix. Required if you are using "ICONS_GALLERY", "IMAGES_GALLERY"
let config = {
...,
openpixKey: 'xxxxxxxxxxxx'
};
language
: stringdefault: 'en'
Language of uploader
available languages: en, fr, de, ru
let config = {
...,
language: 'en'
};
modules
: string[]default: ["UPLOAD", "MY_GALLERY", "ICONS_GALLERY", "IMAGES_GALLERY"]
Modules (tabs) in file uploader modal.
Available modules: UPLOAD, MY_GALLERY, ICONS_GALLERY, IMAGES_GALLERY, TAGGING, IMAGE_EDITOR
let config = {
...,
modules: ['UPLOAD', 'ICONS_GALLERY', 'TAGGING']
};
uploadParams
: objectlet config = {
...,
uploadParams: {
dir: '/folder_name',
...
}
};
initialTab
: stringdefault: 'UPLOAD'
Allow to choose the initial tab. Should be one of enabled modules.
let config = {
...,
initialTab: 'UPLOAD'
};
folderBrowser
: booldefault: true
Aside menu to browse folders in your container.
let config = {
...,
folderBrowser: true
};
tagging
: objectkey
: string (require) - key to use image recognition technology
autoTaggingButton
: bool - adds button which will automatically generate tags based on image recognition technology
provider
: string [google|imagga] - recognition provider
confidence
: number [0..100] - confidence of recognition
limit
: number - limit of tags generated by image recognition technology
let config = {
...,
tagging: {
autoTaggingButton: true,
provider: 'google',
confidence: 60,
limit: 10,
key: 'xxxxx'
}
};
colorScheme
: objectactive
string (default: 'default')- active theme scheme
custom
: object - custom color scheme
custom.mainBackground
: color - main background
custom.navBackground
: color - nav background
custom.buttonBackground
: color - button background
custom.hoverButtonBackground
: color - button background on hover
custom.inputBackground
: color - search field background
custom.inputOutlineColor
: color - search field outline
custom.activeTabBackground
: color - current nav tab background
custom.text
: color - text
custom.title
: color - title
custom.inputTextColor
: color - search field text
custom.tabTextColor
: color - nav tab text
custom.activeTabTextColor
: color - current nav tab text
custom.buttonTextColor
: color - button text
custom.border
: color - draggable boundaries border
let config = {
...,
colorScheme: {
active: 'custom',
custom: {
mainBackground: '#f5f5f5',
navBackground: '#181830',
buttonBackground: '#00707C',
hoverButtonBackground: '#096868',
inputBackground: '#fff',
inputOutlineColor: '#4d90fe',
activeTabBackground: '#40545b',
text: '#5d636b',
title: '#1e262c',
inputTextColor: '#555555',
tabTextColor: '#c0c1c1',
activeTabTextColor: '#fff',
buttonTextColor: '#fff',
border: '#d8d8d8'
}
}
};
<script>
let config = {
modules: ['UPLOAD', 'MY_GALLERY', 'ICONS_GALLERY', 'IMAGES_GALLERY', 'TAGGING', 'IMAGE_EDITOR'],
uploadParams: {
dir: '/your_root_folder'
},
filerobotUploadKey: '0cbe9ccc4f164bf8be26bd801d53b132',
container: 'example',
openpixKey: 'xxxxxxxxxxxxxxx',
initialTab: 'UPLOAD',
folderBrowser: true,
tagging: {
executeAfterUpload: true,
autoTaggingButton: true,
provider: 'google',
confidence: 60,
limit: 10,
key: 'aaaa'
},
language: 'en',
colorScheme: {
active: 'custom',
custom: {
mainBackground: '#f5f5f5',
navBackground: '#181830',
buttonBackground: '#00707C',
hoverButtonBackground: '#096868',
inputBackground: '#fff',
inputOutlineColor: '#4d90fe',
activeTabBackground: '#40545b',
text: '#5d636b',
title: '#1e262c',
inputTextColor: '#555555',
tabTextColor: '#c0c1c1',
activeTabTextColor: '#fff',
buttonTextColor: '#fff',
border: '#d8d8d8'
}
}
};
let onUpload = (files) => {
console.log('files: ', files);
alert('Files uploaded successfully! check the console to see the uploaded files');
};
let uploader = FilerobotUploader.init(config, onUpload);
let button = document.createElement('button');
button.onclick = () => { uploader.open(); }
button.innerText = 'Open Uploader';
document.body.appendChild(button);
</script>
All contributions are super welcome!
FAQs
[DEPRECATED] The Filerobot Uploader is a multi-function Uploader that will make uploads super easy in your web sites and apps. It is fast to integrate allows end users to upload media, files and any assets via Filerobot's reverse CDN. Files are stored int
We found that filerobot-uploader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.