Skip to content
New issue

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

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

Already on GitHub? # to your account

5339 Handle upload for image smaller than configured resize dimensions #5341

Conversation

skamphuis
Copy link
Contributor

Fixes #5339

Summary

The code checked wether resize on upload dimensions are configured, then checked wether the image needs resizing, but fails to actually upload if the image doesn't need resising.
This PR fixes that.

Copy link
Contributor

@valadas valadas 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 to me

@valadas valadas added this to the 9.11.1 milestone Oct 18, 2022
@valadas valadas changed the base branch from master to develop October 18, 2022 01:22
@valadas
Copy link
Contributor

valadas commented Oct 18, 2022

Please target our default develop branch in the future. master is reserved for releases.

@bdukes bdukes force-pushed the feature/5339-CKE-Upload-image-smaller-than-upload-resize-dimensions branch from 9c8a3de to 6706d64 Compare October 21, 2022 14:57
@mitchelsellers mitchelsellers merged commit 3022acc into dnnsoftware:develop Nov 8, 2022
@skamphuis skamphuis deleted the feature/5339-CKE-Upload-image-smaller-than-upload-resize-dimensions branch November 23, 2022 10:38
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error uploading image in CKEditor smaller than upload resize dimensions
4 participants