title: Display a user's picture or avatar in the header using twitter bootstrap
body: <p>I am trying to insert the user's avatar next to the username in the bootstrap 3 header. I'm having a very hard time achieving this, and I don't want to hack into the provider's css. Any one has already done this ? Thanks for your help</p>
  
  <pre><code>&lt;div class="navbar navbar-inverse navbar-fixed-top"&gt;
              &lt;div class="container"&gt;
                  &lt;div class="navbar-header"&gt;
                      &lt;button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"&gt;
                          &lt;span class="icon-bar"&gt;&lt;/span&gt;
                          &lt;span class="icon-bar"&gt;&lt;/span&gt;
                          &lt;span class="icon-bar"&gt;&lt;/span&gt;
                      &lt;/button&gt;
                      &lt;a href="#" class="navbar-brand"&gt;Foo's Bar&lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="navbar-collapse collapse"&gt;
                      &lt;ul class="nav navbar-nav"&gt;
                          &lt;li class="active"&gt;&lt;a href="#"&gt;Awesome link&lt;/a&gt;&lt;/li&gt;
                          &lt;li&gt;&lt;a href="#"&gt;More Awesome link&lt;/a&gt;&lt;/li&gt;
                      &lt;/ul&gt;
                          &lt;ul class="nav navbar-nav navbar-right"&gt;
                          &lt;li&gt;
                              &lt;a href="/Chuck"&gt;Something &lt;span id ="toto" class="badge" style="@danger"&gt;0&lt;/span&gt;&lt;/a&gt;
                          &lt;/li&gt;
                          &lt;li&gt;
                              &lt;li&gt;&lt;a href="#"&gt;&lt;img src="http://placehold.it/30x30"&gt;&lt;span class="header-username"&gt;Chuck Norris&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
                          &lt;li&gt;&lt;a href="javascript:document.getElementById('logoutForm').submit()"&gt;Log off&lt;/a&gt;&lt;/li&gt;
                      &lt;/ul&gt;
  
                  &lt;/div&gt;
  
              &lt;/div&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>Edit : the Bootply's link, because that's what friends do ! <a href="http://www.bootply.com/X4FhzJiP3T" rel="nofollow">http://www.bootply.com/X4FhzJiP3T</a></p>