title: Display image and file in a folder
body: <p>I would like to display the content of a folder, with an image and the file name next to it.
  I have tried to get the file name via <code>scandir</code>, but it would not change line, just out in 1 long line.</p>
  
  <p>What i really want is something like this:<br>
  <code>[Image here]    [name here]</code></p>
  
  <p>code:</p>
  
  <pre><code>$directory = '../../Images'; 
  $files = scandir($directory);
  print_r($files);
  </code></pre>