I'm using a featured content slider but have around 78 images in the gallery which take a while to load. I've seen a few scripts for pre-loading images but they all seem to be pre-loading static images where mine are in an array: echo "<li><img src=\"/wedding/slideshowpro/albums/album-9/lg/$src\" title=\"$title\"></li>"; PHP: Is there a way to pre-load dynamic images?