Schema missing for "focal_point_crop_by_width" effect

Created on 18 June 2025, 16 days ago

Problem/Motivation

I created a new recipe and used the "focal_point_crop_by_width" effect.

But when installing the recipe, an error occurs:

There were validation errors in image.style.teaser:
- effects.97927909-6b76-43c2-8c12-9457ad56c4dc.data: 'width' is an unknown key because effects.97927909-6b76-43c2-8
c12-9457ad56c4dc.id is focal_point_crop_by_width (see config schema type image.effect.*).
- effects.97927909-6b76-43c2-8c12-9457ad56c4dc.data: 'height' is an unknown key because effects.97927909-6b76-43c2-
8c12-9457ad56c4dc.id is focal_point_crop_by_width (see config schema type image.effect.*).
- effects.97927909-6b76-43c2-8c12-9457ad56c4dc.data: 'crop_type' is an unknown key because effects.97927909-6b76-43
c2-8c12-9457ad56c4dc.id is focal_point_crop_by_width (see config schema type image.effect.*).

Proposed resolution

Add the "focal_point_crop_by_width" effect into the schema.yml.
I wrote a patch to fix this.

🐛 Bug report
Status

Active

Version

2.1

Component

Image Presets

Created by

🇧🇪Belgium detroz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024