Crop, scrawls, resize, rotate and upload image. An updated fork and implementation of andyvr/picEdit
bower install piczone
git clone https://github.com/PhilippeAssis/piczone
PhilippeAssis/piczone/archive/master.zip
Simple internationalization system Just add the files already created or customize
Add the script language to be defined
<script type="text/javascript" src="i18n/en.i18n.picedit.js"></script>
Set the language in the 'lang' option
lang: 'en'
Set
var PICZONE_I18N = {
'en' : {
webcamError : "No video source detected! Please allow camera access!",
webRTCError: "Sorry, your browser doesn't support WebRTC!",
info: "or copy/paste image here",
imageEmpty: "Open an image or use your camera to make a photo!",
formDataError: "Sorry, the FormData API is not supported!",
dataSubmitSuccess : "Data successfully submitted!",
dataSubmitError : "Server did not accept data!"
}
}
To display the tools in the standard for image top and no hidden them
activeNavBox: true
You can enable or disable the camera button with
camera: true
//or
camera: false
Include...
$(function () {
$('input[type=file]').picZone({
activeNavBox: true, //new option
lang: 'en' //new option
});
});
More information on andyvr/picEdit