Button to Photo Viewer

Does anyone know how can I open photo viewer or image viewer when the user click on view location button? Ignore the image first it will be replaced by building floor plan

html:

<button ion-button (click)="goImage()">View Location</button>

ts file:

 onClick() {
    const viewer = this.imageViewerCtrl.create("assets/img/mapping.jpg")
    viewer.present();
  }