Código php:
Ver original<?php
$numRandom = rand(0,2); /*escogemos un numero aleatorio, 1 de 3 posibles resultados (0, 1 o 2) */
switch($numRandom) {
case 0:
$img = "imagen0.jpg";
break;
case 1:
$img = "imagen1.jpg";
break;
case 2:
$img = "imagen2.jpg";
break;
}
?>
<img src="<?php echo $img;?>" border="0" alt="" />
Y esa sería una posible solución.
espero te sirva :]