Fixed watermarks and added automatic image cropping

This commit is contained in:
Kyle
2018-11-02 19:56:57 -07:00
parent f16b75ed64
commit 98008badfe
3 changed files with 17 additions and 8 deletions

View File

@@ -5,6 +5,7 @@ function loadImage(event, destination, arg) {
reader.onload = function() {
var dataURL = reader.result
destination.src = dataURL
destination.cropped = false
}
reader.readAsDataURL(input.files[0])
}