eip-ui-cropper
v1.1.2
Published
Image crop directive for AngularJS, square, circle and rectangle areas. Working aspect. Features like export array and more comming. Customised for Particle CMS
Readme
uiCropper
Image Crop directive for AngularJS customised for the Particle CMS.
Installing
Download directly
Bower
bower install eip-ui-cropperNPM
npm install eip-ui-cropperMeteor
meteor npm install --save eip-ui-cropperHow to Use
angular.module('app', ['uiCropper'])
.controller(function($scope){
$scope.myImage = 'https://raw.githubusercontent.com/CrackerakiUA/ui-cropper/master/screenshots/live.jpg';
$scope.myCroppedImage = ''; // in this variable you will have dataUrl of cropped area.
});<ui-cropper image="myImage" result-image="myCroppedImage"></ui-cropper>Documentation
You can checkout all options under our wiki page
