Skip to content

[6.x] Fix focal point editor performance with large images - #15311

Open
duncanmcclean wants to merge 1 commit into
6.xfrom
focal-point-editor-thumbnail
Open

[6.x] Fix focal point editor performance with large images#15311
duncanmcclean wants to merge 1 commit into
6.xfrom
focal-point-editor-thumbnail

Conversation

@duncanmcclean

Copy link
Copy Markdown
Member

This pull request fixes an issue where the focal point editor becomes slow when working with large source images.

This was happening because the editor's preview crops were rendered using the full, original asset image nine times over.

This PR fixes it by using the asset's thumbnail instead of the full preview image for those crops. Note that this means the images in the focal point editor may appear lower quality or more blurry than they actually are — that's the trade-off of using the thumbnail here.

Fixes #15270

…view image

improves performance when working with large source images (#15270)
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.

Focal point editor performance

1 participant