Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File processor image cropping #6047

Merged
merged 38 commits into from
Dec 23, 2024
Merged

File processor image cropping #6047

merged 38 commits into from
Dec 23, 2024

Conversation

Cyperghost
Copy link
Contributor

@Cyperghost Cyperghost commented Nov 6, 2024

Lets you crop images in two ways:

Min Max

  • Allows the user to crop the image to a specified minimum and maximum size
  • Minimum and maximum must have the same aspect ratio

Exact

  • Alles sizes must have the same aspect ratio
  • If the image already corresponds to the correct dimensions, no dialog is displayed and the image is uploaded directly
  • The cropped image will be resized to the largest possible size

@Cyperghost Cyperghost requested a review from dtdesign November 6, 2024 09:25
@Cyperghost Cyperghost force-pushed the file-upload-image-crop branch from 9764802 to 5a38bab Compare November 6, 2024 09:41
@Cyperghost Cyperghost mentioned this pull request Nov 8, 2024
18 tasks
@Cyperghost Cyperghost marked this pull request as ready for review November 11, 2024 11:58
# Conflicts:
#	package-lock.json
#	package.json
#	wcfsetup/install/lang/en.xml
Copy link
Member

@dtdesign dtdesign left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good so far but the final verdict depends on the implementation of the cover photo so that we can validate the MinMax case with a real use case.

@Cyperghost Cyperghost merged commit 4a4e638 into 6.2 Dec 23, 2024
8 checks passed
@Cyperghost Cyperghost deleted the file-upload-image-crop branch December 23, 2024 07:57
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.

2 participants