| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is a JavaScript crop plugin, based on canvas and written with CoffeeScript. Crop is done completely on client side, the result of crop is a base64 string, that you could easily send to server.
<script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="evroneCrop.js"></script>
<script type="text/javascript">
$( function() {
crop = $(element).evroneCrop();
});
</script>
You can set various options:
Everytime user changes something, original images data attribute is updated. You can easily get id by the following code:
$jQuery.data(crop, 'evroneCrop')
Please read Code of Conduct and Contributing Guidelines for submitting pull requests to us.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License.
| Back | FazBrowse Home | New Git URL |