mikuli.cz

:)
git clone https://git.sr.ht/~ashymad/mikuli.cz
Log | Files | Refs

commit e992b7f104e5f17d0d964dfe851116a459ce87c8
parent d49c2f203d8f40384298009d5c6df60e13ffa68b
Author: markseu <mark2011@mayberg.se>
Date:   Tue,  6 Oct 2020 10:37:12 +0200

Updated image extension

Diffstat:
Msystem/extensions/image.php | 4++--
Msystem/extensions/update-current.ini | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/system/extensions/image.php b/system/extensions/image.php @@ -2,7 +2,7 @@ // Image extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/image class YellowImage { - const VERSION = "0.8.9"; + const VERSION = "0.8.10"; public $yellow; // access to API // Handle initialisation @@ -88,7 +88,7 @@ class YellowImage { list($widthInput, $heightInput, $type) = $this->yellow->toolbox->detectImageInformation($fileName); $widthOutput = $this->convertValueAndUnit($widthOutput, $widthInput); $heightOutput = $this->convertValueAndUnit($heightOutput, $heightInput); - if (($widthInput==$widthOutput && $heightInput==$heightOutput) || $type=="svg") { + if (($widthInput==$widthOutput && $heightInput==$heightOutput) || $type=="svg" || $type=="") { $src = $this->yellow->system->get("coreServerBase").$this->yellow->system->get("coreImageLocation").$fileNameShort; $width = $widthOutput; $height = $heightOutput; diff --git a/system/extensions/update-current.ini b/system/extensions/update-current.ini @@ -44,11 +44,11 @@ system/extensions/edit.js: edit.js, create, update system/extensions/edit.woff: edit.woff, create, update Extension: Image -Version: 0.8.9 +Version: 0.8.10 Description: Images and thumbnails. HelpUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/image DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/image.zip -Published: 2020-07-26 16:01:58 +Published: 2020-10-06 10:31:03 Developer: Datenstrom Tag: feature system/extensions/image.php: image.php, create, update