Rotate Image: Display random images from a list in rotation

Recommend this page to a friend!
  Info   View files (8)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,080 All time: 3,418 This week: 363
Version License Categories
rotateimage 1.0GNU General Publi...HTML, Graphics, Content management
Description Author

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.

Picture of Brett Dutton
  Performance   Level  
Name: Brett Dutton <contact>
Classes: 5 packages by
Country: Australia Australia
Age: 52
All time rank: 84611 in Australia Australia
Week rank: 713 9 in Australia Australia
Innovation award
Innovation award
Nominee: 1x

File Role Description
classes (2 files)
images (5 files)
rotexample.php Example Example use of this class

  Files  /  classes  
File Role Description
   Html.php Class Utility Class to assist with generating Html
   RotateImage.php Class Main class

  Files  /  images  
File Role Description
   rotation_image_1.jpg Photo Demonstration Image
   rotation_image_2.jpg Photo Demonstration Image
   rotation_image_3.jpg Photo Demonstration Image
   rotation_image_4.jpg Photo Demonstration Image
   rotation_image_5.jpg Photo Demonstration Image

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,418
This week:363

For more information send a message to info at phpclasses dot org.