AirstoreJS is a free JS plugin that offers you 2 components :
- 1/ a file picker,
- 2/ a drag & drop uploader
The files can be uploaded either :
- on AirstoreA1 Cloud Storage (a file storage in the cloud),
- or with your own server-side custom uploader (in Ruby, PHP, or whatever).
AirstoreJS requires jQuery and dropzone.
You can find all our examples here :
- Simple example
- Upload a file to my AirstoreA1 bucket (todo)
- Upload a file to my own PHP script (todo)
- Add icon search on my uploader (todo)
- Add image search on my uploader (todo)
You can simply load AirstoreJS from our CDN by adding these dependencies:
<script src="//static.airstore.io/dist/airstore.min.js"></script>
<link rel="stylesheet" href="//static.airstore.io/dist/airstore.min.css">
<button id="img-picker">File Picker</button>
<div id="box"></div>
<div id="box" data-current-image="http://yourdomain.com/*.jpg"></div>
We'll be happy to help you!