Questions tagged [ngx-image-cropper]
21 questions
0
votes
2 answers
Zoom in & zoom out in Angular not working for ngx-image-cropper
I am trying for Zoom in & Zoom out from ngx-image-cropper. I am not getting any error but when I click the button zoomOut or ZoomIn it's not working.
What am I doing wrong here?
My TS code
zoomOut() {
this.scale -= .1;
this.transform = {
…

Mr.M
- 1,472
- 3
- 29
- 76
0
votes
1 answer
default cropper not required only button click - ngx-image-cropper - Angular
With the current code when the image is loaded by default i am getting crop but what i want is when i clicked crop button then only the crop should happen
I checked few in google i got autoCrop:false but I am not sure where I need to put
Here is…

Mr.M
- 1,472
- 3
- 29
- 76
0
votes
1 answer
loadImageFailed() trigger error when using ngx-image-cropper with ngx-bootstrap-modal
Notice some intermittent load failure when opening up the ngx-bootstrap-modal to load the ngx-image-cropper. Did some try and error, I've noticed that as long as I open the modal before loadImageFailed() triggered. The cropper will load and…

syahiruddin
- 401
- 5
- 14
0
votes
2 answers
ngx-image-cropper imageloaded() not passing any image data to typescript file event method
I'm using ngx-image-cropper to load and crop images. According to the docs there is
(imageLoaded)="imageLoaded($event)"
but when I step into the typescript to debug the method 'imageLoaded()' image is undefined!
It's not passing anything to the…

chuckd
- 13,460
- 29
- 152
- 331
-1
votes
2 answers
Image cropper not saving cropped Image in Angular
I'm using ngx-image-cropper
import { ImageCroppedEvent, ImageTransform } from 'ngx-image-cropper';
user={ ..
};
image: any = '';
croppedImage: any = '';
transform: ImageTransform = {};
scale = 1;
showCropper = false;
profilePicUpload(e): void {
…

user3653474
- 3,393
- 6
- 49
- 135
-1
votes
1 answer
ngx-cropper: set initial size and position of cropper area
I have searched and cannot find the solution I am looking for with ngx-cropper. What I would like is for the cropper area to be in top left corner when I open it and about 1/6th the size of the image like this:
I have got this using a static width…

Siobhan Holubicka
- 147
- 1
- 4
- 17