From 89f144e8de0d594e89acda3bd2dcae4595b63cb1 Mon Sep 17 00:00:00 2001 From: edward Date: Wed, 5 Oct 2016 16:37:39 +0800 Subject: [PATCH] Images.php --- Images.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.2