I am using bootstrap carousal and having some problem with image height and width. Even though I define it in the img attribute it still displays a
I faced the same problem.
What worked for me is instead of using img, I used div and background-image for css
HTML:
CSS:
.carousel-inner, .item {
height: 100%;
}
.carousel-img {
background-image: url('http://placehold.it/400x400');
width: 100%;
height:100%;
background-position:center;
background-size:cover;
}