projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63c2a75
)
Images.php
author
Edward
<edward@roojs.com>
Thu, 13 Mar 2014 09:39:53 +0000
(17:39 +0800)
committer
Edward
<edward@roojs.com>
Thu, 13 Mar 2014 09:39:53 +0000
(17:39 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
1764a4d
..
65266fc
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-263,7
+263,7
@@
class Pman_Core_Images extends Pman
// if the mimetype is not converted..
// then the filename should be original.{size}.jpeg
$fn = $img->getStoreName() . '.'. $this->size . '.jpeg'; // thumbs are currenly all jpeg.!???
- print_r($fn);exit;
+
if (!file_exists($fn)) {
$fn = $img->getStoreName() . '.'. $this->size . '.'. $img->fileExt();
// if it's an image, convert into the same type for thumbnail..