X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Images.php;h=884d88ab5cc73b75418b673c3dc5d8d905e0ad2f;hb=dff7116c31985c523f927df3e8e7cf50670ef428;hp=bfda2826ca553b7843eda775815488e85a9443ac;hpb=aacf637cc08aec6b885b21e05f19f04721532940;p=Pman.Core diff --git a/Images.php b/Images.php index bfda2826..884d88ab 100644 --- a/Images.php +++ b/Images.php @@ -297,6 +297,10 @@ class Pman_Core_Images extends Pman $this->as_mimetype = $img->mimetype; } if (!$this->thumb) { + if ($x->mimetype == $this->as_mimetype) { + $x->serveOnly($this->method); + exit; + } $x->convert( $this->as_mimetype); $x->serve($this->method); exit;