Alright, I have a PHP file for random images… but I want to resize them, specifically to the size of the web browser. Can anyone help me?
Here is my code in case you need it…
<?php
$total = "3";
$file_type = ".jpg";
$image_folder = "images/stigg";
$start = "1";
$random = mt_rand($start, $total);
$image_name = $random . $file_type;
echo "<img src=\"$image_folder/$image_name\" alt=\"$image_name\" />";
?>