Multiple Random Image PHP Script
Recently, while developing a site, I ran into a need for the ability to select 4 random images from a folder and display them in a div container. I searched around and found several scripts that would pull single random images (I’ve used this simple script from Matt Mullenweg’s site several times, for example) but nothing that would randomize multiple images.
























