I’m looking for a solid ad image rotator where I can just upload photos to a specific directory (ads/125×125) and somehow tie the proper links to the ads and then have the script randomly grab the ads and place them in a specific spot.
I think a server-side solution would be better suited to your needs. This type of thing really shouldn’t be done with JavaScript…
Yeah, it wouldn’t be that hard to write a bit of PHP which just gets the images from a directory and then picks one at random – but then that would require a PHP page.
I have written a javascript banner rotator here – http://www.spyka.net/scripts/javascript/simple-banner-rotator
You have to set the banners up in the javascript file and it’ll display one randomly at each location. It also has styling features, refreshes ad locations and more.
It’s also licensed under the GPL
If you’re looking at making this with PHP , you’ll need to store the image URL and the site’s link to make this work as how you described it. 
