I have an image with a width of 1300 pixels, with bootstrap I want this image to fill the entire width of my container, which is set to 1300 pixels. I create a row, give it a full 12 columns, and then add an image with a class of responsive images. With this setting, I get the output below.

I want my image to stretch to my image, here is my code.
<div class="row">
<div class="container">
<div class="col-md-12">
<img src="<?php bloginfo('template_directory'); ?>/assets/img/homeBanner.jpg" alt="placeholder 960" class="img-responsive"/>
</div>
</div>
</div>
The image is set to 100% wide, so you are not sure why it does not fill the container.
source
share