Image Rotators

Zeldman recently mentioned several image rotator scripts for displaying random images on your pages. Hivelogic’s Image Rotator 1.5 and Matt Mullenweg’s A Better Image Rotator accomplish the task well. But two problems worth mentioning is their inability to display images of different sizes, and use a different alt text for each image. This site has been doing exactly that for quite some time now, using a short snippet of PHP. Of course, you can get the details.

One Response

  1. You can have different dimensions simply by not specifying width or height when you call it through the img tag, like I do in one of the examples. However the alt attribute request is a good one and several other people have mentioned it, so it wouldn’t hurt to put something together. I’ll look into it.

Leave a Reply