Add no-image placeholder
This commit is contained in:
@@ -21,8 +21,8 @@ export class EditImageModalComponent implements OnInit {
|
||||
this.modalService.open(this.modal,{ size: 'lg' });
|
||||
}
|
||||
|
||||
isImageLoaded:boolean = false;
|
||||
aspectRatio:number = 4/3;
|
||||
|
||||
imageChangedEvent: any = '';
|
||||
croppedImage: any = '';
|
||||
|
||||
@@ -33,6 +33,7 @@ export class EditImageModalComponent implements OnInit {
|
||||
this.croppedImage = event.base64;
|
||||
}
|
||||
imageLoaded(image: LoadedImage) {
|
||||
this.isImageLoaded=true;
|
||||
}
|
||||
cropperReady() {
|
||||
// cropper ready
|
||||
|
Reference in New Issue
Block a user