Skip to content

harlio/blop.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blop.js

Client side dropping and cropping using canvas and delivering a nice clean blob.

Getting Started

Download the production version or the development version.

In your web page:

<div class="blop">
    <div class="blop__dropzone">
        <input type="file" class="blop__input" />
        <span>Drag & Drop to upload</span>
        <button type="button" class="blop__select">or, Select File</button>
    </div>
    <div class="blop__preview">
        <div class="blop__result">
            <img class="blop__image img-responsive" />
        </div>
    </div>
    <menu class="blop__toolbar">
        <button type="button" class="blop__set">Set</button></li>
        <button type="reset" class="blop__clear">Clear</button></li>
    </menu>
</div>

<script src="blop.min.js"></script>
<link rel="stylesheet" href="blop.css">
<script>
jQuery(function($) {
  $('.blop').blop(); // "awesome"
});
</script>

Documentation

(Coming soon)

Examples

(Coming soon)

Release History

(Nothing yet)

About

Client side Dropping and Cropping

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published