title: Do not show photo twice in Prettyphoto
body: <p>i have a tricky problem I'm not able to solve. I'm using <code>jquery.prettyphoto.js</code> to display a set of images in a "lightbox".</p>
  
  <p>The first photo in that set is the "AvatarPhoto" and it's rendered twice on the page. First on top, standing alone and also in a slider with all the other photos. Both are linking to the same picture in the same gallery.</p>
  
  <p>Take a look at this: <a href="http://jsfiddle.net/wtZLY/" rel="nofollow">http://jsfiddle.net/wtZLY/</a></p>
  
  <p>okay I solved that based on halfer´s answer, simply gave the first link of "allFotos" an id :</p>
  
  <pre><code>    $('#profilePicture').click(function() {
      $('#foto_0').click();
      });
  </code></pre>
  
  <p>but I wonder if I can´t use the prettyphoto API </p>
  
  <pre><code>$.prettyPhoto.open()
  </code></pre>
  
  <p>but looks like I there is no possibility to simply open the <code>prettyPhoto[gallery1]</code> down on the page. I would have to pass all images and titles as an Array and in my case this would be heavy repeating myself.</p>