title: How to display a picture from library in Ionic 3
body: <p>I tried to display a picture from library in Ionic project.</p>
  
  <p>I used :</p>
  
  <ul>
  <li>Ionic 3</li>
  <li>Angular 4</li>
  <li>iOS emulator</li>
  </ul>
  
  <p>In Comopent :</p>
  
  <pre><code>    const options: CameraOptions = {
          quality: 100,
          sourceType: PictureSourceType.PHOTOLIBRARY,
          destinationType: this.camera.DestinationType.FILE_URI,
          encodingType: this.camera.EncodingType.JPEG,
          mediaType: this.camera.MediaType.PICTURE
      };
  
      this.camera.getPicture(options)
          .then(imageUri =&gt; {
              console.log(imageUri);
              this.selectedPictureUri = imageUri;
          })
          .catch(error =&gt; {
              console.error(error);
          });
  </code></pre>
  
  <p>In HTML :</p>
  
  <pre><code>&lt;img *ngIf="selectedPictureUri" [src]="selectedPictureUri"&gt;
  </code></pre>
  
  <p>The URL obtained is the following :</p>
  
  <pre><code>file:///Users/...692F7E7A4086/tmp/cdv_photo_015.jpg
  </code></pre>
  
  <p>In console the following error :</p>
  
  <pre><code>Not allowed to load local resource: file:///Users/...692F7E7A4086/tmp/cdv_photo_015.jpg
  </code></pre>