|
|
 Vlad | 2007-10-16 20:53:24 |
Can you post a link to working example?
Thx.
Vlad |
| |
2. Re: Working example |
|
Reply |
|
|
| |
3. Re: Working example |
|
Reply |
|
|
 Howie Grapek | 2008-02-04 23:05:39 - In reply to message 2 from Feighen Oosterbroek |
can you share the example code?
Thx, howie
|
| |
4. Re: Working example |
|
Reply |
|
|
 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; |
|