Content management: Rotate Image
Brett Dutton (contact me)
This class can be used to display random images in an HTML page from a list.
The class gets the list of image files present in the given directory with a name that matches a pattern defined by a regular expression.
The class then picks a random image to display and generates HTML tags to display that image.
The generated HTML tags contain Javascript that makes the next image in the list be displayed when the user clicks on the current image.
Click here for detailed information about this class on phpclasses.org