Images.php
authorAlan Knowles <alan@roojs.com>
Wed, 23 May 2012 01:45:47 +0000 (09:45 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 23 May 2012 01:45:47 +0000 (09:45 +0800)
Images.php

index 454f416..d660e26 100644 (file)
@@ -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..
+                
+                
+                
+            }