You can also do it this way
When you’ll use pics and they all going to be same height and width you can remove that class .img-box from CSS and replace it in HTML with picture
If they not going to be same height you will set the img-box to tallest pic
Also if there’s going to be more then one line of text you have to handle this accordingly with height of .box1
By the way. Remove that gray background, it was just for presentation to fake the pics.