Images.php
[Pman.Core] / Images.php
index f02dfc5..34bc7be 100644 (file)
@@ -57,6 +57,7 @@ class Pman_Core_Images extends Pman
     
     function get($s) // determin what to serve!!!!
     {
+        print_r('test');exit;
         // for testing only.
         //if (!empty($_GET['_post'])) {
         //   return $this->post();
@@ -221,6 +222,7 @@ class Pman_Core_Images extends Pman
  
     function serve($img)
     {
+        print_f("test??");exit;
         $this->sessionState(0); // turn off session... - locking...
         
         require_once 'File/Convert.php';
@@ -248,6 +250,8 @@ class Pman_Core_Images extends Pman
         $y = new File_MimeType();
         $ext = $y->toExt(trim((string) $this->as_mimetype ));
         
+        print_r($ext);exit;
+        
         // if the mimetype is not converted..
         // then the filename should be original.{size}.jpeg
         $fn = $img->getStoreName() . '.'. $this->size . '.jpeg'; // thumbs are currenly all jpeg.!???