I have a problem with my Grid with line break, the images come from a database and are of different heights, some horizontal and some vertical.
I'm using the bootstrap.
I have this code
<div class="row">
<div class="col-sm-4 borda_cat">
<a href="produtos/<?php echo $row_categoria2["url"] ?>/<?php echo $row_subcategoria2["url"] ?>/<?php echo $row_produtos["url"] ?>" class="hvr-bubble-top"><img src="uploads/<?php echo $row_fotos_produtos["nome"]?>" class="img-responsive"></a>
</div>
</div>
on the site the images look like this
How would you line up the columns with the heights different?