projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Images.php
[Pman.Core]
/
Images.php
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();
}
// 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;
}
$this->as_mimetype = $img->mimetype;
}
+
if (!$this->thumb) {
$x->convert( $this->as_mimetype);
$x->serve($this->method);
if (!$this->thumb) {
$x->convert( $this->as_mimetype);
$x->serve($this->method);