20) AND ($height > 20)){ $files[] = $filename; } } } $count = intval($_REQUEST['count']); if ($count == 0) $count = 20; /* if (count($files) == 0) { throw new Exception("No image files were found"); } */ shuffle($files); if (count($files) > $count) { array_splice($files, $count); } closedir($dh); ?>
'; $first = false; } ?>