2
I managed to get random pictures on my homepage by using code someone off this list recommended to me at:
http://www.alistapart.com/d/randomizer/rotate.text.
Copy and paste the code into Notepad (or something like that) and call it rotate.php. Create a folder for your images and save rotate.php in the same folder.
Then use the code <img src="path_to_images/rotate.php"> in your html page where you want the random images to appear.
Hope that helps a little