Random İmage Kodu
You will need to rename your images in numerical order i.e. 1.jpg, 2.jpg, 3.jpg...
Change "total" to number of images in folder.
Change "file_type" to type of file used for images ie. .jpg, gif or .png
Change "image_folder" to the url of the folder containing images.
$total = "10";"j.pg";"image folder";"1";"<img src="$image_folder/$image_name" alt="$image_name" />";
?>
$random = mt_rand ($start, $total);
$image_name = $random . $file_type;
echo
$start =
$image_folder =
$file_type =