I use this angular file loader directive (with changes): http://nervgh.imtqy.com/pages/angular-file-upload/examples/image-preview/ .
I managed to get the source and redraw the image so that it was larger. One of my requirements is that the user should be able to crop and rotate this image.
I planned to use jCrop, but I can't get it to work, and I'm at a loss. The jcrop box appears in HTML but has a width and height of 0.
My code is here: http://plnkr.co/edit/bC3g58ZdTGGJeoueipnQ?p=preview
Anyone have suggestions on what I can do to make it work?
My colleague solved my problem and I hope this helps others!
https://github.com/LukeMason/angular-img-editor
Source: https://habr.com/ru/post/1534916/More articles:Karma: continuous integration mode disables the browser - javascriptDivide the list in the sublist by checking the condition on the elements - arraysGoogle Apps resolves SSL issue - google-app-enginearm64 objectForKey performance anomaly? - performanceInternalCompilerError when I import a new Facebook 5.1 SDK into my existing project - facebookXcode 5.1 crashes when reaching a breakpoint - iosType of polymorphism in C - cЕсть ли способ создать именованную функцию в clojure, которая видна только в области функций? - scopeWhat is the best way to handle unsupported browsers in Dart? - javascriptReceiving from user: request.referer does not work - ruby-on-railsAll Articles