How to write page.tpl.php file for bootstrap site
Use .image-responsive class in your tpl.php file on your image or link tag like that

&lt;div class="container"&gt;
  &lt;h2&gt;Image&lt;/h2&gt;
  &lt;p&gt;The .img-responsive class makes the image scale nicely to the parent element (resize the browser window to see the effect):&lt;/p&gt;                  
  &lt;img src="cinqueterre.jpg" class="img-responsive" alt="Cinque Terre" width="304" height="236"&gt; 
&lt;/div&gt;


image-responsive in bootstrap