简体   繁体   English

裁剪和上传图像

[英]Cropping and uploading images in angular

I want to crop images in angular and upload them. 我想裁剪图像并上传。 Currently i am using angular-img-cropper but there are some issues with it. 目前,我正在使用angular-img-cropper,但存在一些问题。 It does not support multiple instances on the same page and the cropped image is also clickable. 它不支持同一页面上的多个实例,并且裁剪后的图像也是可单击的。 Can someone suggest me how i can crop and upload images in angular or any other tools/libraries/directives that do the same? 有人可以建议我如何裁剪和上传具有相同角度的图像或其他工具/库/指令吗?

You can use ngImgCropExtended for the image cropping and ng-file-upload to upload your image. 您可以使用ngImgCropExtended进行图像裁剪,并可以使用ng-file-upload上传图像。 They all support multiple instances on the same page. 它们都支持同一页面上的多个实例。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM