title: How do I display image from api in json?
body: <p>I am calling betterdoctor api and im getting back data and i am trying to display a image from the json data. But all im getting back is the src of the image.How do i display the image? instead of just the src of image.</p>
  
  <pre><code>for(i=0;i&lt;data.data.length;i++){
  list = list +
  '&lt;div class="user"&gt;' +
     '&lt;p&gt;' +data.data[i]['profile']['first_name']+ " " +data.data[i]
      ['profile']['last_name']+'&lt;/p&gt;' +
     '&lt;p&gt;' + 'latitude is ' + data.data[i]['practices'][0]['lat']+ '&lt;/p&gt;' 
      +
     '&lt;p&gt;' + 'longtitude is ' + data.data[i]['practices'][0]['lon']+ 
     '&lt;/p&gt;' +
     &lt;img src= data.data[i]['profile']['image_url'] alt="Mountain View"&gt;
     +
     '&lt;/div&gt;' 
      }
  </code></pre>