Her er fra min test, det ser ud til at virke, ret stier til images
<?php
include_once 'randomfile/func-files.php';
// Attempt to grab a random image
$random_image = get_random_file('randomfile/images/2010', TRUE);
// If nothing return then use a default
$random_image = (!$random_image) ? 'randomfile/images/default.jpg' : $random_image ;
?>
<img src="<?php echo $random_image ?>" style="" alt="" />
<br /><br />
<?php
include_once 'randomfile/func-files.php';
// Attempt to grab a random image
$random_image11 = get_random_file('randomfile/images/2011', TRUE);
// If nothing return then use a default
$random_image11 = (!$random_image11) ? 'randomfile/images/default.jpg' : $random_image11 ;
?>
<img src="<?php echo $random_image11 ?>" style="" alt="" />
<br /><br />
<?php
include_once 'randomfile/func-files.php';
// Attempt to grab a random image
$random_image12 = get_random_file('randomfile/images/2012', TRUE);
// If nothing return then use a default
$random_image12 = (!$random_image12) ? 'randomfile/images/default.jpg' : $random_image12 ;
?>
<img src="<?php echo $random_image12 ?>" style="" alt="" />