You host a random.php page with the script in it, and the pictures in a folder. And link the php file as an image, for example in [img]or <img> tags, and everytime the page is reloaded, the script chooses a random image from the predefined folder. I already made 6 siggies for that