From: edward Date: Thu, 9 Nov 2017 10:34:17 +0000 (+0800) Subject: Images.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=7f7fe7279c7ec48f8e1a0dfb5808c8fff693dd18 Images.php --- diff --git a/Images.php b/Images.php index d5d9c40e..c742af5f 100644 --- a/Images.php +++ b/Images.php @@ -302,7 +302,12 @@ class Pman_Core_Images extends Pman $this->validateSize(); } - $x->convert( $this->as_mimetype, $this->size); + if(!empty($this->page)){ + $x->convert( $this->as_mimetype, $this->size, 0, $this->page); + } else { + $x->convert( $this->as_mimetype, $this->size); + } + $x->serve(); exit;