PHP Classes

Working example

Recommend this page to a friend!

      Image Rotate  >  All threads  >  Working example  >  (Un) Subscribe thread alerts  
Subject:Working example
Summary:example
Messages:4
Author:Vlad
Date:2007-10-16 20:53:24
Update:2008-02-05 08:08:16
 

  1. Working example   Reply   Report abuse  
Picture of Vlad Vlad - 2007-10-16 20:53:24
Can you post a link to working example?
Thx.
Vlad

  2. Re: Working example   Reply   Report abuse  
Picture of Feighen Oosterbroek Feighen Oosterbroek - 2007-10-16 21:14:02 - In reply to message 1 from Vlad
Hey Vlad
Will post it as soon as I have got the go ahead from my hosting company the links will be:
pestopmb.co.za://www.thebutchery.co.za
saki.co.za
Thanks and kind regards
Feighen

  3. Re: Working example   Reply   Report abuse  
Picture of Howie Grapek 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   Report abuse  
Picture of Feighen Oosterbroek 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;