CDN

Copy and paste the script tag after jQuery


		<!-- Compiled and minified JavaScript -->
		<script src="https://fs1.cloudsnob.com/static/uploader.js" token="{{PUBLIC_TOKEN}}"></script>
        

HTML

Use any element that can take a value as a string


	    <input class="any-selector" type="text" />
	    

jQuery Initialization


		$(document).ready(function(){
		    $('.any-selector').uploader();
		});
		

jQuery Plugin Options

Option Name Description
label The lable for the upload button
accept files to eccept ( Exsample "image/*" )
fileName The name of the uploaded file

Events


		$('.any-selector').on('file', function(e, file){
		    // file.domain
		    // file.path
		});
		

Global Object


		  // window.Uploader;  
		  Uploader.domain
		  Uploader.token
		

Display Options

Option Name Description
Thumbnail add width size after url ( Exsample "URL.png/300" )