title: Responsive image inside bootstrap panel
body: <p>I am trying to put an image inside a Bootstrap panel (attached image):</p>
  
  <p><a href="https://i.stack.imgur.com/BHQI9.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BHQI9.jpg" alt="enter image description here"></a></p>
  
  <p>HTML Code:</p>
  
  <pre><code>&lt;div class="panel panel-default col-md-10 col-md-offset-1"&gt;
      &lt;div class="panel-body"&gt;
          &lt;div class="row"&gt;
              &lt;div class="col-md-6"&gt;
                  &lt;label&gt; {{DisplayNickname}}&lt;/label&gt;
              &lt;/div&gt;
              &lt;img src="{{DisplayPhoto}}" class="pull-right img-responsive" alt="user photo"&gt; 
          &lt;/div&gt;
          &lt;font size="4" id=rating_d &gt;Rating: &lt;/font&gt;
          &lt;font size="4" id=rating_d&gt; {{DisplayRating | number : 2}}                        &lt;/font&gt;
          &lt;br&gt;&lt;br&gt;
          &lt;font size="4"&gt;Description:&lt;/font&gt;
          &lt;font size="4" id=details&gt;{{DisplayDescription}}&lt;/font&gt;
  
      &lt;/div&gt; 
  &lt;/div&gt;
  </code></pre>
  
  <p>CSS code:</p>
  
  <pre><code>{
      width: 150px;
      height: 150px;
  }
  </code></pre>
  
  <p>It's working with <code>position:absolute</code>, but it's not responsive. What is the right way to do that?</p>