title: Jekyll for loop over all images in a folder?
body: <p>I'd like to make a dirt-simple portfolio of sorts on my jekyll blog. I have all my image files in a folder.</p>
  
  <p>Currently, I have it generating the photos page like this:</p>
  
  <pre><code>&lt;p style="line-height: 100px;"&gt;
  &lt;img src="photos/01.jpg"&gt;&lt;br&gt;
  &lt;img src="photos/02.jpg"&gt;&lt;br&gt;
  &lt;img src="photos/03.jpg"&gt;&lt;br&gt;
  &lt;img src="photos/04.jpg"&gt;&lt;br&gt;
  &lt;img src="photos/05.jpg"&gt;&lt;br&gt;
  &lt;img src="photos/06.jpg"&gt;&lt;br&gt;
  &lt;img src="photos/07.jpg"&gt;&lt;br&gt;
  &lt;img src="photos/08.jpg"&gt;&lt;br&gt;
  &lt;img src="photos/09.jpg"&gt;&lt;br&gt;
  &lt;img src="photos/10.jpg"&gt;&lt;br&gt;
  &lt;/p&gt;
  </code></pre>
  
  <p>Which isn't convenient at all if I want to add or remove new photographs. Is it possible to do something like the for loop I have for posts:</p>
  
  <pre><code>{% for post in site.posts %}
       &lt;h2&gt;&lt;a href="{{ post.url }}"&gt;{{ post.title }}&lt;/a&gt;&lt;/h2&gt;
  {% endfor %}
  </code></pre>
  
  <p>Except to loop over all the images?</p>
  
  <p>Thanks!</p>