projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
89f144e
)
Images.php
author
edward
<edward@roojs.com>
Wed, 5 Oct 2016 08:38:37 +0000
(16:38 +0800)
committer
edward
<edward@roojs.com>
Wed, 5 Oct 2016 08:38:37 +0000
(16:38 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
258cdf8
..
f02dfc5
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-232,9
+232,10
@@
class Pman_Core_Images extends Pman
}
// print_r($img);exit;
$x = $img->toFileConvert();
- if (empty($this->as_mimetype)) {
+ if (empty($this->as_mimetype)
|| $img->mimetype == 'image/gif'
) {
$this->as_mimetype = $img->mimetype;
}
+
if (!$this->thumb) {
$x->convert( $this->as_mimetype);
$x->serve($this->method);