Fixed Gregwar Image library using .jpeg for cached images, rather use .jpg

This commit is contained in:
Andy Miller
2020-04-22 17:31:31 -06:00
parent 5485893c8b
commit 7d4aef0f3b
2 changed files with 3 additions and 0 deletions

View File

@@ -9,6 +9,7 @@
* Fixed flex objects with integer keys not working [#2863](https://github.com/getgrav/grav/issues/2863)
* Fixed user avatar creation for new `Flex Users` when using folder storage
* Fixed `Trying to access array offset on value of type null` PHP 7.4 error in `Plugin.php`
* Fixed Gregwar Image library using `.jpeg` for cached images, rather use `.jpg`
# v1.7.0-rc.8
## 03/19/2020

View File

@@ -590,6 +590,8 @@ class ImageMedium extends Medium
return $this->result;
}
$this->format($this->get('extension'));
if (!$this->debug_watermarked && $this->get('debug')) {
$ratio = $this->get('ratio');
if (!$ratio) {