Is there a way to make a random image script that would also allow me to display other related information such as the title and a link to the original photo on flickr?
To date I have been using the following for the random images, and if possible store the information in a text file as opposed to a DB table.
[code]
<?php
$total = “11”;
$file_type = “.jpg”;
$image_folder = “images/random”;
$start = “1”;
$random = mt_rand($start, $total);
$image_name = $random . $file_type;
echo “<img src=”$image_folder/$image_name” alt=”$image_name” />”;
?>
my intention is to use locally stored thumbnails to link to the original images on Flickr.