Wrote this code to get one random child page and display the first image on it.
However, it is not working right. With this I always get the last child page in the array, and I want anything else but that!
$extra = $page->child("sort=random");
$thumb = $extra->images[0];
$thumb = $image->size(140, 95);
echo "<a href='{$extra->url}'><img src='{$thumb->url}' border='0'></a>";













