projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b551585
)
Images.php
author
Alan Knowles
<alan@roojs.com>
Wed, 23 May 2012 01:43:22 +0000
(09:43 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 23 May 2012 01:43:22 +0000
(09:43 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
c8a77db
..
77c5d87
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-232,9
+232,21
@@
class Pman_Core_Images extends Pman
if(!preg_match('#/(Images|Images/Thumb/[a-z0-9]+|Images/Download)/([0-9]+)/(.*)$#', $attr['src'], $umatch)) {
continue;
}
+ $id = $umatch[2];
+ $type = explode('/', $umatch[1]);
+ $thumbsize = false;
+ if (count($type) > 2 && $type[1] == 'Thumb') {
+ $thumbsize = $type[2];
+ }
+ if ($attr)
+
+
+
+
// make an image url..
print_R($umatch);exit;
- }
+ }
+ return $html;
}