title: Is this php file (with an image) being loaded every time the page is visited?
body: <p>I wanted the images to be loaded only when the user click the link:</p>
  
  <pre><code>&lt;a id="showcase1" href="showcase/showcase1.php"&gt;&lt;img src="images/showcase1t.png"/&gt;&lt;/a&gt;
  </code></pre>
  
  <p>So I placed the images in another php file and call the using ajax and <code>fancybox</code>:</p>
  
  <p><strong>showcase1.php:</strong></p>
  
  <pre><code>&lt;div id="inline1"&gt;
   &lt;img src="images/showcase1.png"/&gt;
   &lt;a href="http://studyatbest.com"&gt;studyatbest.com&lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I'm not very familiar with ajax. </p>
  
  <p>Is the image from <code>showcase1.php</code> being loaded every time someone visit the page. Or just when I click the anchor link?</p>
  
  <p>(The problem is that I'm not sure if <code>showcase1.php and the image inside the file</code> are: 1. being loaded but just not displayed. 2. or being loaded in the right moment I click the anchor link.)</p>