projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
DataObjects/Images.php
[Pman.Core]
/
DataObjects
/
Images.php
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);