Hello
I have app which has a button.
and If user click button and select one image from gallery, then Image is displayed below of button.
what I want to do is when user click image displayed, I want to redirect to native gallery app and show that image.
the reason is that on ionic, I can’t zoom-in or zoom-out …
how can I redirect to gallery app?
let cameraOptions = {
sourceType: this.camera.PictureSourceType.PHOTOLIBRARY,
destinationType: this.camera.DestinationType.FILE_URI,
quality: 100,
targetWidth: 1000,
targetHeight: 1000,
encodingType: this.camera.EncodingType.JPEG,
correctOrientation: true
}
this.camera.getPicture(cameraOptions)
.then(file_uri => {
if(v==1){
this.questionPic = file_uri;
}else{
this.answerPic = file_uri;
}