Zend - The PHP Company




Code Gallery: Jayrox


Dynamic Image Rotation  

Type: application
Added by: Jayrox
Entered: 04/06/2001
Last modified: 06/12/2000
Rating: - (fewer than 3 votes)
Views: 7842
This code radomly selects and image from a directory and with the aid of META refresh rotates images on a page in a slideshow fashion. The code will function fine without the META refresh enabling a different image to be viewed upon page refresh. The script generates a valid IMG tag including graphic dimensions. Will accept either GIF or JPEG formats. This code should be compliant for both PHP 3.x and PHP 4.x




Search