From: edward Date: Wed, 5 Oct 2016 08:37:39 +0000 (+0800) Subject: Images.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=89f144e8de0d594e89acda3bd2dcae4595b63cb1 Images.php --- 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