To add images to the rotation, edit the @images array in the script:
@images = (
"/images/banner1.gif",
"/images/banner2.gif",
"/images/banner3.jpg",
"/images/banner4.png"
);
Or use automatic directory scanning:
$image_dir = "/home/user/public_html/images/";
$image_url = "/images/";
Supported formats: