X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Images.php;h=258cdf8ba7c93292880b60ed124ef4c4f37b6e0e;hb=89f144e8de0d594e89acda3bd2dcae4595b63cb1;hp=a9fcc28b1668788f834aa6b20d96a195bcdb8967;hpb=dde9bdb8d639357163f205eeecfd2c178722c6be;p=Pman.Core diff --git a/Images.php b/Images.php index a9fcc28b..258cdf8b 100644 --- a/Images.php +++ b/Images.php @@ -243,7 +243,9 @@ class Pman_Core_Images extends Pman //echo "SKALING? $this->size"; // acutally if we generated the image, then we do not need to validate the size.. - + require_once 'File/MimeType.php'; + $y = new File_MimeType(); + $ext = $y->toExt(trim((string) $this->as_mimetype )); // if the mimetype is not converted.. // then the filename should be original.{size}.jpeg