✨ feat: add image filter configuration and update related collections
This commit is contained in:
@@ -52,6 +52,8 @@ permissions:
|
||||
put: true
|
||||
delete: true
|
||||
|
||||
imageFilter: !include lib/imageFilter.yml
|
||||
|
||||
fields:
|
||||
- name: active
|
||||
type: boolean
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
xs-webp:
|
||||
- width: 100
|
||||
height: 100
|
||||
fit: true
|
||||
quality: 60
|
||||
outputType: webp
|
||||
s-webp:
|
||||
- width: 300
|
||||
quality: 70
|
||||
outputType: webp
|
||||
m-webp:
|
||||
- width: 600
|
||||
quality: 76
|
||||
outputType: webp
|
||||
l-webp:
|
||||
- width: 1200
|
||||
quality: 80
|
||||
outputType: webp
|
||||
xl-webp:
|
||||
- width: 2000
|
||||
quality: 84
|
||||
outputType: webp
|
||||
xxl-webp:
|
||||
- width: 2800
|
||||
quality: 88
|
||||
outputType: webp
|
||||
@@ -23,7 +23,7 @@ meta:
|
||||
file: file
|
||||
preview:
|
||||
label: title
|
||||
secondary: tag
|
||||
secondary: tags
|
||||
tertiary: description
|
||||
image: file
|
||||
mediaFile: file
|
||||
@@ -56,33 +56,7 @@ permissions:
|
||||
put: true
|
||||
delete: true
|
||||
|
||||
imageFilter:
|
||||
xs-webp:
|
||||
- width: 100
|
||||
height: 100
|
||||
fit: true
|
||||
quality: 60
|
||||
outputType: webp
|
||||
s-webp:
|
||||
- width: 300
|
||||
quality: 70
|
||||
outputType: webp
|
||||
m-webp:
|
||||
- width: 600
|
||||
quality: 76
|
||||
outputType: webp
|
||||
l-webp:
|
||||
- width: 1200
|
||||
quality: 80
|
||||
outputType: webp
|
||||
xl-webp:
|
||||
- width: 2000
|
||||
quality: 84
|
||||
outputType: webp
|
||||
xxl-webp:
|
||||
- width: 2800
|
||||
quality: 88
|
||||
outputType: webp
|
||||
imageFilter: !include lib/imageFilter.yml
|
||||
|
||||
fields:
|
||||
- name: file
|
||||
@@ -129,7 +103,7 @@ fields:
|
||||
inputProps:
|
||||
multiline: true
|
||||
rows: 4
|
||||
- name: tag
|
||||
- name: tags
|
||||
type: string[]
|
||||
meta:
|
||||
label: { de: "Schlagwörter", en: "Tags" }
|
||||
|
||||
@@ -7,7 +7,7 @@ meta:
|
||||
label: { de: "Schlagwörter", en: "Tags" }
|
||||
muiIcon: label
|
||||
group: content
|
||||
imageUrl: "https://images.unsplash.com/photo-1555421689-491a97ff2040?auto=format&fit=crop&w=800&q=80"
|
||||
imageUrl: "https://images.unsplash.com/photo-1571907483086-3c0ea40cc16d?auto=format&fit=crop&q=80&w=800"
|
||||
preview:
|
||||
select: [name, color]
|
||||
label: name
|
||||
|
||||
Reference in New Issue
Block a user