Skip to content

[5.x]: "Image Position" not saving when creating an Image Transform with Mode "Letterbox" via Control Panel #16648

@svonlanthen

Description

@svonlanthen

What happened?

Description

When creating or editing an Image-Transform, it's not possible to save the setting for "Image Position". Regardless of what i chose, it always sets back to "Center-Center" when i save.

Steps to reproduce

  1. In Craft Control Panel go to Settings ->Assets -> Image Transforms
  2. Create a Image Transform with: Mode: Letterbox, Width: 1200px, Height: 900px, Image Format: png
  3. For "Image Position" chose "Bottom-Center"
  4. Save

Expected behavior

Image Position should be "Bottom-Center"
Image

Actual behavior

Image Position is still "Center-Center"
Image

Craft CMS version

Craft Solo 5.6.5.1

PHP version

8.2.13

Operating system and version

Linux 5.15.167.4-microsoft-standard-WSL2

Database type and version

MariaDB 10.6.16

Image driver and version

Imagick 3.7.0 (ImageMagick 6.9.11-60)

Installed plugins and versions

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions