-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
Description
Environment
Grav: 1.5 and 1.6
php 7.1
Bug
Added grayscale filter to media.yaml.
Expected:
Grayscale pictures
Observed:
No change
Any image filter defined in media.yaml are not used.
Seems it is the old #984 .
Reproduce & test
Used: default media.yaml
Paths: system/config and user/config
Modified:
types:
defaults:
type: file
thumb: media/thumb.png
mime: application/octet-stream
image:
filters:
default:
- grayscaleAlso changed:
jpg:
type: image
thumb: media/thumb-jpg.png
mime: image/jpeg
filters:
- grayscale
jpe:
type: image
thumb: media/thumb-jpg.png
mime: image/jpeg
filters:
- grayscale
jpeg:
type: image
thumb: media/thumb-jpg.png
mime: image/jpeg
filters:
- grayscaleImages do not change at all.