Images.php
authorAlan Knowles <alan@roojs.com>
Wed, 17 Oct 2012 05:46:59 +0000 (13:46 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 17 Oct 2012 05:46:59 +0000 (13:46 +0800)
Images.php

index c1628ab..3e2680f 100644 (file)
@@ -240,6 +240,7 @@ class Pman_Core_Images extends Pman
         
         if (!file_exists($fn)) {
             $fn = $img->getStoreName()  . '.'. $this->size . '.'. $img->fileExt();
+            $this->as_mimetype = $img->mimetype;
         }
         
         if (!file_exists($fn)) {