From: Alan Knowles Date: Wed, 23 May 2012 03:02:42 +0000 (+0800) Subject: Images.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=6def9de71b842027efb7d8ea0410d1be3bd53d85;p=Pman.Core Images.php --- diff --git a/Images.php b/Images.php index 459a2fd8..95549399 100644 --- a/Images.php +++ b/Images.php @@ -228,11 +228,11 @@ class Pman_Core_Images extends Pman if (!isset($ff->Pman_Images['public_baseURL'])) { return $html; } - var_dump($ff->Pman_Images['public_baseURL']); + //var_dump($ff->Pman_Images['public_baseURL']); $baseURL = $ff->Pman_Images['public_baseURL']; preg_match_all('/]+>/i',$html, $result); - print_r($result); + //print_r($result); $matches = array_unique($result[0]); foreach($matches as $img) { $imatch = array(); @@ -273,7 +273,7 @@ class Pman_Core_Images extends Pman static function replaceImgUrl($html, $baseURL, $tag, $attr, $attr_name) { - print_R($attr); + //print_R($attr); // see if it's an image url.. // Images/{ID}/fullname.xxxx // Images/Thumb/200/{ID}/fullname.xxxx