feat: add image filter configuration and update related collections

This commit is contained in:
2026-05-17 18:54:44 +00:00
parent f407946c19
commit 8cbf0db14f
6 changed files with 33 additions and 31 deletions
Binary file not shown.
+2
View File
@@ -52,6 +52,8 @@ permissions:
put: true put: true
delete: true delete: true
imageFilter: !include lib/imageFilter.yml
fields: fields:
- name: active - name: active
type: boolean type: boolean
+26
View File
@@ -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
+3 -29
View File
@@ -23,7 +23,7 @@ meta:
file: file file: file
preview: preview:
label: title label: title
secondary: tag secondary: tags
tertiary: description tertiary: description
image: file image: file
mediaFile: file mediaFile: file
@@ -56,33 +56,7 @@ permissions:
put: true put: true
delete: true delete: true
imageFilter: imageFilter: !include lib/imageFilter.yml
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
fields: fields:
- name: file - name: file
@@ -129,7 +103,7 @@ fields:
inputProps: inputProps:
multiline: true multiline: true
rows: 4 rows: 4
- name: tag - name: tags
type: string[] type: string[]
meta: meta:
label: { de: "Schlagwörter", en: "Tags" } label: { de: "Schlagwörter", en: "Tags" }
+1 -1
View File
@@ -7,7 +7,7 @@ meta:
label: { de: "Schlagwörter", en: "Tags" } label: { de: "Schlagwörter", en: "Tags" }
muiIcon: label muiIcon: label
group: content 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: preview:
select: [name, color] select: [name, color]
label: name label: name
+1 -1
View File
@@ -1,2 +1,2 @@
ADMIN_TOKEN=5bdfjc78hdxn338cuhSJ ADMIN_TOKEN=5bdfjc78hdxn338cuhSJ
ADMIN_ASSET_VERSION=d74964d-dirty-1779040944093 ADMIN_ASSET_VERSION=f407946-dirty-1779042833381