title: Infinite Scroll + foreach ->echo only once
body: <p>I'm using infinite scroll on one of my pages, combined with a foreach-loop.
  My -relevant- code:</p>
  
  <pre><code>&lt;div id="container" class="infinite-scroll span12"&gt; 
     &lt;?php foreach ($items as $item): ?&gt; 
        &lt;div class="element"&gt;
           &lt;?php echo $this-&gt;Html-&gt;image($item); ?&gt; 
        &lt;/div&gt; 
     &lt;?php endforeach; ?&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Scrolling further down loads the infinite-scroll plugin. The #container gets updated.</p>
  
  <p><strong>I'd now like to display one image only on the beginning of the first page.</strong></p>
  
  <p><em><strong>Any idea how I could implement this?</em></strong></p>
  
  <p>Thanks in advance!</p>