Skip to content

Image transforms using fit=cover instead of crop #144

@jamesmacwhite

Description

@jamesmacwhite

Description

The focal point does not seem to be working with image transforms, this seemed to starting happening very recently.

On local dev, the image crop behavior is using the focal point, but on any Craft Cloud environment, the cropped image does not output the same.

Example on local dev

Image

Example on Craft Cloud:

Image

Steps to reproduce

  1. Generate image transform with crop mode and set the format to webp.
  2. The crop does not take into account the set focal point.

Additional info

  • craftcms/cms version: 5.9.17
  • craftcms/cloud version: 3.0.1
  • PHP version: 8.3
  • Database driver & version: MySQL
  • Plugins & versions:

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions