angular-image-crop
angular-image-crop copied to clipboard
A better way to crop images client-side using AngularJS
When cropping an image, file format is changed, as example if i use a jpeg image, the cropped file is a png with highest weight. Or at least a final...
crop doesn't work inside bootstrap modal, ng-show="imageCropStep == 1" this imageCropStep not setting inside popup var modalInstance = $modal.open({ animation: true, templateUrl: 'elements/imageCrop.html', controller: 'instanceController', windowClass:'loginModal', size: 'lg' }); Please...
safeMove(true/false) - allow the user to move the image on the canvas without restrictions fillCollor(color/HEX) - the color to be used for filling the empty part of the canvas(used with...
Since some modern browers sometimes don't support Promise, change from JS Promise to Angular $q can help enhance compatibility.
This is because I.E. doesn't support touchmove, or touchend events. In order to be compatible, you typically have to a check for events: window.navigator.msPointerEnabled ? "MSPointerMove" : "touchmove"
If this could be an option, it would make it easier to use and wouldn't obscure the image. Perhaps one could specify horizontal instead. And keep your diagonal of course.
Is there a way to make this an option (or default)? I'm loading images from my iphone5 and I initially only see a portion of the wall behind the person--...
Using this information below, perhaps you could get rid of the default file upload button, and optionally trigger the file selection to come up initially. From https://developer.mozilla.org/en-US/docs/Using_files_from_web_applications#Using_hidden_file_input_elements_using_the_click()_method ### Using hidden...
How to validate when image is being uploaded? Is there such an option. I think it will be useful to many. E.g. during upload (means after file selection, before preview)...