title: Ionic 3- display base64 image, sanitizing unsafe url value safevalue must use [property]=binding
body: <p>I want to display base64 image for profile picture.
  The image is stored in database as binary data and I converted this binary data into base64 using btoa(). now I want to bind this base64 image to img src 
  I tried many ways but it's not working, please help
  here is my code</p>
  
  <p><strong>profile.ts code:</strong></p>
  
  <pre><code>profilePicture(binImage)
  {
      if(binImage != null)
      {
          var imageData = btoa(binImage);
          //console.log("Base64 Image: ",imageData);
          this.displayImage = imageData;
      }
  }
  </code></pre>
  
  <p><strong>profile.html code:</strong></p>
  
  <pre><code>&lt;div class="profile-picture big-profile-picture" *ngIf="displayImage"&gt;
      &lt;img src="data:Image/*;base64,{{displayImage}}"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/XUUmM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XUUmM.png" alt="Check this image, it&#39;t not displaying the picture"></a></p>
  
  <p>It is showing an error "sanitizing unsafe url value safevalue must use [property]=binding"</p>