title: Add <br /> after every set of 5 images
body: <p>Okay, I am currently using this:</p>
  
  <pre><code>&lt;?php
  $dirname = "cards/collecting/";
  $images = glob($dirname."*.png");
  foreach ($images as $image) {
  $title = pathinfo($image);
  echo '&lt;img class="deck" src="'.$image.'" alt="'. $title['filename'].'" title="'.$title['filename'].'"&gt;';
  }
  ?&gt;
  </code></pre>
  
  <p>This pulls a bunch of small images out of a folder and displays them. It works great, but I want there to be a <br /> after each 5th image, so it doesn't stretch across the entire div in which the image are being shown. I'm unsure what I need to add to do this.</p>
  
  <p>Thanks in advance!</p>