mikuli.cz

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

commit 7227440046cab87a3a0db63d6544747c04d6c2e7
parent b72f3fe820a0c2689254a667a5dc27ed85a8cd9e
Author: markseu <mark2011@mayberg.se>
Date:   Tue, 27 Jun 2017 22:30:14 +0200

Plugins update (summer sunshine remix)

Diffstat:
Msystem/plugins/image.php | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/system/plugins/image.php b/system/plugins/image.php @@ -5,7 +5,7 @@ class YellowImage { - const VERSION = "0.7.1"; + const VERSION = "0.7.2"; var $yellow; //access to API var $graphicsLibrary; //graphics library support? (boolean) @@ -15,8 +15,8 @@ class YellowImage $this->yellow = $yellow; $this->yellow->config->setDefault("imageThumbnailLocation", "/media/thumbnails/"); $this->yellow->config->setDefault("imageThumbnailDir", "media/thumbnails/"); + $this->yellow->config->setDefault("imageJpgQuality", 80); $this->yellow->config->setDefault("imageAlt", "Image"); - $this->yellow->config->setDefault("imageJpegQuality", 80); $this->graphicsLibrary = $this->isGraphicsLibrary(); } @@ -133,7 +133,7 @@ class YellowImage switch($type) { case "gif": $ok = @imagegif($image, $fileName); break; - case "jpg": $ok = @imagejpeg($image, $fileName, $this->yellow->config->get("imageJpegQuality")); break; + case "jpg": $ok = @imagejpeg($image, $fileName, $this->yellow->config->get("imageJpgQuality")); break; case "png": $ok = @imagepng($image, $fileName); break; } return $ok;