this needs to be set up in your css. create a div for each picture and then set the div to block. add the img at the to fille the width of the div and then add the text under it.
.box1{
display:block;
float:left;
width:400px;
border: 1px solid #000;
line-height:1.6em;
}