Skip to content

[3.x] Align Cloud image editing with native transforms#161

Open
timkelty wants to merge 1 commit into
3.xfrom
timkelty/use-native-transforms-action-requests
Open

[3.x] Align Cloud image editing with native transforms#161
timkelty wants to merge 1 commit into
3.xfrom
timkelty/use-native-transforms-action-requests

Conversation

@timkelty
Copy link
Copy Markdown
Contributor

@timkelty timkelty commented Jun 4, 2026

Description

Keeps Cloud image-editor previews and save/crop math in the same raw image coordinate space without routing normal asset transforms through PHP.

Cloud now skips the asset CDN transform override only for Craft’s assets/edit-image action, while actions like assets/generate-transform continue using edge transforms.

Direct-to-S3 uploads also persist server-derived file size and raw image dimensions from volume metadata/header reads, so EXIF-oriented phone photos don’t save browser-oriented dimensions that later break crop math.

Existing assets with mismatched dimensions can be repaired by running Craft’s Update Asset Indexes utility.

@timkelty timkelty force-pushed the timkelty/use-native-transforms-action-requests branch from b513507 to 3e8f2e6 Compare June 4, 2026 11:43
@timkelty timkelty changed the title [3.x] Use native transforms for action requests [3.x] Align Cloud image editing with native transforms Jun 4, 2026
@timkelty timkelty force-pushed the timkelty/use-native-transforms-action-requests branch 4 times, most recently from ecd66bb to e895e6b Compare June 4, 2026 16:16
@timkelty timkelty force-pushed the timkelty/use-native-transforms-action-requests branch from e895e6b to eaccd12 Compare June 4, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant