
Feighen Oosterbroek - 2008-02-05 08:08:16 -
In reply to message 3 from Howie Grapek
$dir = "images/photos/home/";
if (!is_dir($dir)) {return;}
$html = (string)"";
$img_rot = new imageRotator();
$img_rot->setImgDir($dir);
$img_rot->setTimeOut(7);
$img_rot->scriptOutput("/.*\.jp[e|eg|g]/i", array("width"=>"240px", "height"=>"180px"));
$html = $img_rot->returnHtml();
return $html;