For those who have marked it as duplicate, i am not trying to achieve this:How can I make Bootstrap columns all the same height?
I am dealing with responsive images while keeping the aspect ratio, dealing with images is not the same thing as just making a column larger.
Please see image below for more information about what i am trying to achieve.
I got 2 main cols. The first one is divided in 2, and has 2 images 555*670
. The second column is divided in a further 2 columns with 4 images.
I would like the images in the second column(266*370) to adapt to the first column. That is the 2nd column should have a combined height which is equivalent to the first column(555*670). The images in the first column and the 4 in the 2nd column should have the same height while maintaining the aspect ratio of the images and should be responsive.
I am open to suggestions like changing the size of the images to achieve this. Here is a link to the CodePen. I used bootstrap grid and set width to 100% on the images.
.img370{
width:100%;
}
.img555{
width:100%;
}