mirror of
https://github.com/mosbth/cimage.git
synced 2025-04-21 01:11:54 +02:00
Fixed to correctly display image when using a resize strategy without height or width.
This commit is contained in:
parent
9088647d3a
commit
9e9c44c935
@ -1098,6 +1098,11 @@ class CImage
|
||||
$this->newWidth = round($factor * $width);
|
||||
$this->log("New height was set.");
|
||||
|
||||
} else {
|
||||
|
||||
// Use existing width and height as new width and height.
|
||||
$this->newWidth = $width;
|
||||
$this->newHeight = $height;
|
||||
}
|
||||
|
||||
|
||||
|
@ -8,6 +8,7 @@ Revision history
|
||||
v0.7.12 (2016-05-31)
|
||||
-------------------------------------
|
||||
|
||||
* Fixed to correctly display image when using a resize strategy without height or width.
|
||||
* Fixed background color for option `no-upscale`, #144.
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user