title: Concrete5, Imageflow and Fancybox JQuery
body: <p>I know the post seems long, but I'm sure there's a very simple solution. Please read through.   </p>
  
  <p>Ok so I have me little php here that fetches images:</p>
  
  <pre><code>&lt;div id="&lt;?php echo $smallThumbs; ?&gt;" class="imageflow"&gt;
  &lt;?php 
  
  foreach($images as $imgInfo) {
  $f = File::getByID($imgInfo['fID']);
  
      echo '&lt;img src="';
      echo $f-&gt;getRelativePath();
      echo '" longdesc="';
      echo $f-&gt;getRelativePath();
      echo '" ';
      echo 'alt="';
      echo $imgInfo['description'];
      echo '"/&gt;';
          ;}; ?&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>And this is the fancybox code: <a href="http://www.pastie.org/2096958" rel="nofollow">http://www.pastie.org/2096958</a></p>
  
  <p>I pasted it on pastie because it was too long, and I can't make out anything.</p>
  
  <p>I changed the very last bit from</p>
  
  <p><strong>$(".login-popup-link").fancybox</strong> </p>
  
  <p>to </p>
  
  <p><strong>$(".imageflow").fancybox</strong> </p>
  
  <p>to get any results at all.  Now the popup shows but it says </p>
  
  <p><em>"The requested content cannot be loaded. Please try again later."</em></p>
  
  <p>Another place where I'm using the same feature, it runs smoothly with this code for the base image, which when clicked shows the popup</p>
  
  <pre><code>&lt;a class="login-popup-link" href="#login-popup"&gt;&lt;img src="images/vid.png" width="280" height="216"/&gt;&lt;/a&gt;
  </code></pre>
  
  <p>Please help!
  I've also tried adding 'a' tags in the php code up top, but that just makes the whole gallery disappear.</p>
  
  <p>Thank you in advance!</p>