PHP Classes

Random Image: The class will select a random image from a folder

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 896 All time: 3,946 This week: 488Up
Version License Categories
randomimage 1.0FreewareGraphics, Files and Folders
Description 

Author

This is a simple class that can pick a random image from a specified folder.

The class traverses a given directory and pick one file from all those that have file name extensions typical of image files like .gif and .jpg.

Picture of Muhammad Ahmed Farid
Name: Muhammad Ahmed Farid <contact>
Classes: 1 package by
Country: Pakistan Pakistan

 

  Files folder image Files (3)  
File Role Description
Accessible without login Image file EmptyFolder.gif Icon The empty folder image.
Plain text file RandomImage.class.php Class The base class to pick a random image
Accessible without login Plain text file Test.php Example Example to use this file

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:896
This week:0
All time:3,946
This week:488Up