title: Fancybox slideshow in iframe as in facebook album
body: <p>I have success.php page in which I am fetching albums of user which is logged in. Each album is clickable and user gets redirected on albumphoto.php. This page gets albumId from GET request and displays all the photo of that album. On clicking any album, I am opening an Jquery Fancybox iframe. Currently, It echoes all photos in the iframe. Below is code.</p>
  
  <p>Page: Success.php</p>
  
  <pre><code> &lt;a class="fancybox fancybox.iframe" href="albumphoto.php?album_id=&lt;?php echo $album['id']?&gt;" style="text-decoration: none"&gt;&lt;?php echo $album['name'];?&gt; 
  </code></pre>
  
  <p>Page : albumphoto.php</p>
  
  <pre><code> $album_id = $_GET['album_id'];
  
   $photos = $facebook-&gt;api("/{$album_id}/photos"); // just get that one album
  foreach($photos['data'] as $photo)
  {
      echo "&lt;img src='{$photo['source']}'  /&gt;";   
  }
  </code></pre>
  
  <p>I want to make slideshow in iframe for all the photos .Suggest me how this can be done ? I dont get any help. Thanks in advance.</p>