Added support for webp (must be defined in media.yaml) #1168

This commit is contained in:
Andy Miller
2020-04-23 12:35:05 -06:00
parent dfa8ce1ad4
commit fe0ad9c9c2
4 changed files with 12 additions and 7 deletions

View File

@@ -2,6 +2,7 @@
## mm/dd/2020
1. [](#new)
* Support for `webp` image format in Page Media #1168
* Added `Route::getBase()` method
1. [](#improved)
* Support symlinks when saving `File`

View File

@@ -42,7 +42,7 @@
"filp/whoops": "~2.2",
"matthiasmullie/minify": "^1.3",
"monolog/monolog": "~1.0",
"gregwar/image": "2.*",
"gregwar/image": "~2.0",
"donatj/phpuseragentparser": "~0.10",
"pimple/pimple": "~3.2",
"rockettheme/toolbox": "~1.5",

12
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "1fe7faf2a0c3746a2970416597c6615d",
"content-hash": "3deb19274879ec4b3566d70163f0e4f3",
"packages": [
{
"name": "antoligy/dom-string-iterators",
@@ -1019,16 +1019,16 @@
},
{
"name": "maximebf/debugbar",
"version": "v1.16.1",
"version": "v1.16.2",
"source": {
"type": "git",
"url": "https://github.com/maximebf/php-debugbar.git",
"reference": "58998b818c6567fac01e35b8a4b70c1a64530556"
"reference": "40f375504a4dd8e59f779c3f3cac524777ddcde5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/58998b818c6567fac01e35b8a4b70c1a64530556",
"reference": "58998b818c6567fac01e35b8a4b70c1a64530556",
"url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/40f375504a4dd8e59f779c3f3cac524777ddcde5",
"reference": "40f375504a4dd8e59f779c3f3cac524777ddcde5",
"shasum": ""
},
"require": {
@@ -1076,7 +1076,7 @@
"debug",
"debugbar"
],
"time": "2019-11-24T09:46:11+00:00"
"time": "2020-04-16T09:05:52+00:00"
},
{
"name": "miljar/php-exif",

View File

@@ -24,6 +24,10 @@ types:
type: image
thumb: media/thumb-png.png
mime: image/png
webp:
type: image
thumb: media/thumb-webp.png
mime: image/webp
gif:
type: animated
thumb: media/thumb-gif.png