Questions tagged [ngx-image-cropper]
21 questions
1
vote
1 answer
ngx-image-cropper in angular, ERROR Error: Uncaught (in promise): Error: NG0203: inject()
I am developing a registration form. In this form I ask a photo to the user. In order to respect a precise format, I want to propose a tool to resize directly the user's picture. So I started with ngx-image-cropper which seems to be very useful and…

Léandre
- 45
- 6
1
vote
1 answer
Can I change the brightness and contrast of an image before cropping it with ngx-image-cropper?
Question - Is there any easy way (ex. CSS) to change the brightness and contrast of an image before sending it to ngx-image-cropper, so that when I call crop() the brightness/contrast persist to the final cropped output image?
Ex. load it into a…

chuckd
- 13,460
- 29
- 152
- 331
1
vote
1 answer
1
vote
2 answers
Ngx-image-cropper Shift Image
I am using ngx-image-cropper, I have used all of its functionality, like zoom, rotate.
Now the real problem is when I zoom the image it's scaled from center, now if I want to crop image from extreme left side or extreme right side, I am helpless, as…

Kiran Shinde
- 5,732
- 4
- 24
- 41
0
votes
0 answers
I give image Url to ngx-Image-Cropper angular throw Error
Access to XMLHttpRequest at 'https://url' from origin 'http://localhost:4200' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested…
0
votes
1 answer
ngx-image-cropper , roundCropper = "true" not working , its showing this error - Type 'string' is not assignable to type 'boolean'

Akash Nagar
- 11
- 4
0
votes
0 answers
Warning [NgxImageCropper] Could not find HammerJS - Pinch Gesture won't work
I am implementing the NgxImageCropper library in a project, but the following warning is displayed in the console
Warning [NgxImageCropper] Could not find HammerJS - Pinch Gesture won't work
Look on stackoverflow for some help and almost all of…

CaNa
- 61
- 2
0
votes
0 answers
ionic-deploy + ngx-image-cropper: image not displaying after relaunching app
This is such a strange issue so just posting in case anywhere knows where to investigate next as I'm completely stumped.
I have a Cordova Ionic (v6) app that uses ngx-image-cropper npm plugin to crop images.
If I run the app without ionic-deploy,…

DanielRead
- 2,288
- 1
- 23
- 34
0
votes
1 answer
ngx-cropper: Make cropper size and position fix and move the image
I have searched and cannot find the solution I am looking for with ngx-image-cropper. I would like is to fix the position of the cropper to be center of the image and immovable once the image is loaded. Instead of moving the cropper, I would like to…
0
votes
2 answers
Angular. After closing image cropper does not open the same image from another panel in accordion
In accordion content there is a functionality to upload cropped image. When I clicked the icon to upload it opens modal for image cropping, but when I close the modal instead of "Done" in second time for the same image it does not open the…

bayandur
- 13
- 2
0
votes
1 answer
Cant import from non EcmaScript module in angular
I am using ngx-image-cropper dependency and I don't know why this error is coming whenever I import it in my app.component.module.ts in angular.
Trying to solve this issue from 3 hours but unable to!!

Tanishka Bansal
- 49
- 1
- 10
0
votes
2 answers
I am using Image picker and image cropper dependencies and trying to get image but it shows error
I am trying to upload image into the database. I have used image picker and image cropper dependencies but it still shows error in the code within the ** that it donot recognize such commands. After the image picker it donot suggests pickimage.…

Usama Bin Tahir
- 143
- 1
- 11
0
votes
1 answer
Cannot read property instance of undefined Angular 8
I have a modal, in which one I would use a component (ngx-image-cropper) but I get this error everytime "Cannot read property instance of undefined" on the image-cropper.
Preview() is called successfully and this.logoToUpload works fine, the problem…

Rob None
- 479
- 2
- 9
- 22
0
votes
0 answers
How to hide 'Take Photo' menu item when using xamarin plugin "ImageCropper.Forms"
I'm using xamarin forms to build an app and within this app I used plugin:
ImageCropper.Forms.Fix.v2
For some reason the function of 'Take Photo' of this plugin in my iOS app doesn't work (has added access right in the plist, it just return image is…

Liang-Liang Han
- 1
- 1
- 5
0
votes
1 answer
Image previewing problem after cropping in Angular 10
in my angular 10 project I have used ngx-image-cropper to crop image. After crop the image ngx-image-cropper gives us base64 string value. But I want to convert this base64 value to file and show this file in another image previewer. Later I want to…

mnu-nasir
- 1,642
- 5
- 30
- 62