projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8478505
)
DataObjects/Images.php
author
Edward
<edward@roojs.com>
Thu, 4 Oct 2018 02:58:05 +0000
(10:58 +0800)
committer
Edward
<edward@roojs.com>
Thu, 4 Oct 2018 02:58:05 +0000
(10:58 +0800)
DataObjects/Images.php
patch
|
blob
|
history
diff --git
a/DataObjects/Images.php
b/DataObjects/Images.php
index
d5728f3
..
84b39c0
100644
(file)
--- a/
DataObjects/Images.php
+++ b/
DataObjects/Images.php
@@
-834,7
+834,14
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
$data = $this->rotate();
}
-
+ if(!empty($scaleWidth) || !empty($scaleHeight)){
+
+ $width = $this->width;
+ $height = $this->height;
+
+
+
+ }
$base64 = 'data:' . $this->mimetype . ';base64,' . base64_encode($data);