User tests: Successful: Unsuccessful:
Pull Request for Issue #44862
This pull request resolves a bug in the Media Action - Resize plugin where images are resized unnecessarily when only one dimension (width or height) is set.
Previously, if a user defined only a max width (e.g., 1920px) and left height unset, the plugin would still resize small images (e.g., 200px wide). This occurred because the height check defaulted to 0, incorrectly failing the comparison logic.
The logic has been updated to evaluate width and height independently. The plugin now only resizes if the image exceeds a defined constraint.
Images smaller than the defined max width or height are still resized if one constraint is not set.
Images are only resized if they exceed a defined max width or height. Unset dimensions are ignored in the check, preventing unnecessary resizing.
Please select:
Status | New | ⇒ | Pending |
Category | ⇒ | Front End Plugins |
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-04-10 14:11:16 |
Closed_By | ⇒ | travisrisner | |
Labels |
Added:
PR-5.2-dev
|
Please can you rebase this to 5.3 as there wont be any further releases of 5.2