projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c81f846
)
Images.php
author
Alan Knowles
<alan@roojs.com>
Wed, 23 May 2012 02:54:30 +0000
(10:54 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 23 May 2012 02:54:30 +0000
(10:54 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
676234c
..
1aa0639
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-288,8
+288,7
@@
class Pman_Core_Images extends Pman
}
$type = explode('/', $umatch[1]);
$thumbsize = -1;
- $new_thumbsize = -1;
-
+
if (count($type) > 2 && $type[1] == 'Thumb') {
$thumbsize = $type[2];
$provider = 'Images/Thumb';
@@
-328,7
+327,7
@@
class Pman_Core_Images extends Pman
$new_tag = str_replace(
'src="'. $attr['src'] . '"',
- 'src="'. htmlspecialchars($img->URL($
new_thumbsize
, $provider, $baseURL)) . '"',
+ 'src="'. htmlspecialchars($img->URL($
thumbsize
, $provider, $baseURL)) . '"',
$tag
);