Commit d87990a
[5.3] - Respect individual width/height constraints in Media Action - Resize plugin (joomla#45311)
Fix issue joomla#44862 in the Media Action - Resize plugin where images are resized unnecessarily when only one dimension (width or height) is set.
The logic has been updated to evaluate width and height independently. The plugin now only resizes if the image exceeds a defined constraint.
---------
Co-authored-by: Quy Ton <[email protected]>
Co-authored-by: Richard Fath <[email protected]>1 parent 274cd3a commit d87990a
1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
79 | 84 | | |
80 | | - | |
81 | | - | |
| 85 | + | |
| 86 | + | |
82 | 87 | | |
83 | 88 | | |
84 | 89 | | |
| |||
0 commit comments