title: pull only 20 latest photos from the folder
body: <p>so I have this code</p>
  
  <pre><code>     &lt;?php 
  
        $images = glob("slike/*.*");
  
        sort($images);
  
        foreach ($images as $img) {
  
          echo '&lt;div class="image_wrapper"&gt;&lt;img src="'.$img.'"&gt;&lt;/div&gt;';
  
        }
  
      ?&gt;
  </code></pre>
  
  <p>and it's working great but I want to pull <strong>only 20 latest photos</strong> and not all of them since there is over one hundred.</p>
  
  <p>How can I do this?
  Also is there a way to show it like from 5th to 25th?</p>