Skip to content

Commit

Permalink
Added support for webp (must be defined in media.yaml) #1168
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Apr 23, 2020
1 parent dfa8ce1 commit fe0ad9c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions system/config/media.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe0ad9c

Please sign in to comment.