title: Getting rid of white space in image gallery
body: <p>Hi guys im not sure if this is the correct term but im building an image gallery in bootstrap with the idea of using masonry, so basically , everything is in different sizes , my problem is i have a huge gap in between my gallreys and i was wondering how i can get rid of it. My problem looks like this : 
  <a href="https://i.stack.imgur.com/lxsUh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lxsUh.png" alt="enter image description here"></a></p>
  
  <p>I would like it so that space in the red circle could go away and that , i could connect them together</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div class="row"&gt;
    &lt;div class="card-columns"&gt;
      &lt;div class="card"&gt;
        &lt;img class="card-img-top" src="http://placehold.it/500x600" alt="Card image cap"&gt;
      &lt;/div&gt;
      &lt;div class="card"&gt;
        &lt;img class="card-img-top" src="http://placehold.it/500x300" alt="Card image cap"&gt;
      &lt;/div&gt;
      &lt;div class="card"&gt;
        &lt;img class="card-img-top" src="http://placehold.it/500x300" alt="Card image cap"&gt;
      &lt;/div&gt;
      &lt;div class="card"&gt;
        &lt;img class="card-img-top" src="http://placehold.it/500x300" alt="Card image cap"&gt;
      &lt;/div&gt;
      &lt;div class="card"&gt;
        &lt;img class="card-img-top" src="http://placehold.it/500x300" alt="Card image cap"&gt;
      &lt;/div&gt;
      &lt;div class="card"&gt;
        &lt;img class="card-img-top" src="http://placehold.it/500x300" alt="Card image cap"&gt;
      &lt;/div&gt;
      &lt;div class="card"&gt;
        &lt;img class="card-img-top" src="http://placehold.it/500x700" alt="Card image cap"&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
      &lt;div class="row"&gt;
    &lt;div class="card-columns"&gt;
      &lt;div class="card"&gt;
        &lt;img class="card-img-top" src="http://placehold.it/500x600" alt="Card image cap"&gt;
      &lt;/div&gt;
      &lt;div class="card"&gt;
        &lt;img class="card-img-top" src="http://placehold.it/500x300" alt="Card image cap"&gt;
      &lt;/div&gt;
      &lt;div class="card"&gt;
        &lt;img class="card-img-top" src="http://placehold.it/500x300" alt="Card image cap"&gt;
      &lt;/div&gt;
      &lt;div class="card"&gt;
        &lt;img class="card-img-top" src="http://placehold.it/500x300" alt="Card image cap"&gt;
      &lt;/div&gt;
      &lt;div class="card"&gt;
        &lt;img class="card-img-top" src="http://placehold.it/500x300" alt="Card image cap"&gt;
      &lt;/div&gt;
      &lt;div class="card"&gt;
        &lt;img class="card-img-top" src="http://placehold.it/500x300" alt="Card image cap"&gt;
      &lt;/div&gt;
      &lt;div class="card"&gt;
        &lt;img class="card-img-top" src="http://placehold.it/500x700" alt="Card image cap"&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Please let me know if there is an easier way of doing this, im using boostrap 3 or if im doing something stupid but i would like to build a gallery using this idea but just so i can get rid of those big spaces </p>
  
  <p>Thanks</p>