title: not able to show image in popup
body: <p>I have this issue: I want to open a image in a pop-up, but the image is not loaded in the pop-up.</p>
  
  <p>Could someone tell me what's wrong with my code, I don't have any errors</p>
  
  <p>This is a part of my code:</p>
  
  <pre><code>&lt;?php
  defined('_JEXEC') or die('Restricted access');
  $db = JFactory::getDBO();
  $query=$db-&gt;getQuery (true);
  $query-&gt;SELECT ('*');
  $query-&gt;from('#__feature_film_image_data');
  $db-&gt;setQuery( $query);
  $results = $db-&gt;loadObjectList();
  ?&gt;
  &lt;?php foreach($results as $result):?&gt;
  
  &lt;div class="work mr9"&gt;
   &lt;a href="&lt;?php echo $result-&gt;id; ?&gt;" rel="facebox"&gt;
    &lt;img src="&lt;?php echo $result-&gt;image; ?&gt;" width="172" height="111"&gt;
   &lt;/a&gt;
  &lt;/div&gt;
  
  &lt;?php endforeach; ?&gt;
  
  &lt;div class="popup-div"&gt;
  &lt;?php foreach($results as $result):?&gt;
   &lt;div id="&lt;?php echo $result-&gt;id; ?&gt;" style="display:none;"&gt;
    &lt;img src="&lt;?php echo $result-&gt;image?&gt;" alt="some alt txt"&gt;
   &lt;/div&gt;
   &lt;br clear="all"&gt;
  
  &lt;?php endforeach; ?&gt;
  &lt;/div&gt;
  &lt;br clear="all"&gt;
  </code></pre>
  
  <p>I want to open the pop-up window by clicking (click event) on the image.</p>