mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-01 05:50:12 +02:00
Fixed to correctly display image when using a resize strategy without height or width.
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user