Preload php dynamic images
<p>I have a php file that generates images (it puts an watermark on images) called image.php that receives and id <a href="http://localhost/image.php?id=1" rel="nofollow">http://localhost/image.php?id=1</a>. </p>

<p>Does anybody know of a way to preload this images using javascript / jQuery?</p>

<p>I tried the normal suggestions of image preloading but hey dont seem to work. I'm thinking its because the name of the file is always the same.</p>

<p><strong>Update:</strong></p>

<p>I'm using <a href="http://engineeredweb.com/blog/09/12/preloading-images-jquery-and-javascript" rel="nofollow">this</a> approach to preload the images (a simple jquery function that creates img elements) </p>

<p>One caveat (probably an important one so I should have stated it up front) its that I'm using the images as a background through css.</p>

<p>I see that the images are fetch in Firebug. but as I try to define then as a background of a div they get fetch again. I cannot reuse the actual element but I'm under the impression that the browser caching should not fetch then again.</p>

<p>Thanks again for any insight</p>
