projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a09a0f1
)
Images.php
author
Alan Knowles
<alan@roojs.com>
Wed, 23 May 2012 01:45:47 +0000
(09:45 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 23 May 2012 01:45:47 +0000
(09:45 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
454f416
..
d660e26
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-241,14
+241,20
@@
class Pman_Core_Images extends Pman
if (!empty($attr['width']) || !empty($attr['height']) )
{
// no support for %...
- $thumbsize =
+ $
new_
thumbsize =
(empty($attr['width']) ? '0' : $attr['width'] * 1) .
'x' .
(empty($attr['height']) ? '0' : $attr['height'] * 1);
}
-
+ if ($new_thumbsize != $thumbsize) {
+ // change in size..
+ // need to regenerate it..
+
+
+
+ }