http://www.blessedbythebestbarbershop.com/photos.html
The bottom right picture keeps getting resized to a different height for some reason and im not sure why. The image size is the same as the other 5. Can anybody tell why its doing that?
Why is my img-responsive class not scaling correctly?
64 views Asked by bbennett36 At
2
Adding to what Syden says
This 6th image has a different aspect ratio to the others (having
11 : 20
rather than15 : 20
).Your images are scaled to a set forced width (
350px
), so the height of the image is in proportion to it's scaled width. In order to fix you need to keep the image aspect ratios all exactly the same, so when they're of equal width, they will all be of equal height.There are various solutions such as force CSS cropping of the image and setting a maximum height but you probably won't want these. It's much easier to simply resize the 6th image in accordance with the others.