title: After Isotope Insert, ReLayout
body: <p>Hi I'm using Isotope with some images. My images are various sizes, ranging from squares to panoramic images that fill the full width of the container. </p>
  
  <p>I was wondering how I could have isotope reLayout the images after insertion of new images, since I do not want large, ugly gaps between my photos.</p>
  
  <p>Here is my code that isn't working</p>
  
  <pre><code>function( newElements ) {
        $container.isotope( 'insert', $( newElements ), function(){
          $container.isotope( 'reLayout'); 
        }); 
      }
  </code></pre>
  
  <p>Thanks for all of your help!</p>