Focal point compatibility

Created on 12 April 2024, 7 months ago
Updated 17 April 2024, 7 months ago

Problem/Motivation

The module is not compatible with https://www.drupal.org/project/focal_point
For example, I have an image with original dimensions of 5000x5000 pixels. The focal point of this image is located at the coordinates (4000, 3000) after resizing the image to 2000x2000 the focal point coordinates remains the same causing it to move to an unwanted position or even breaking the image.

Proposed resolution

If focal point is installed, update the focal point coordinates in the queue worker based on the old and new dimensions to keep it in the same position.

Remaining tasks

Provide a MR

User interface changes

none

API changes

none

Data model changes

none

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇪🇸Spain isaacrc

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024