-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
Short description of the issue
If a maximum width is defined for an image field and the resize mode is set to "Use client-side resize when possible" and a portrait image is uploaded in this field, the maximum width is applied to the height even though the swap min/max option for portrait images is deactivated. This does not happen in server-side resize mode.
Expected behavior
The maximum width should also be applied to the width of portrait format images if swap min/max has not been explicitly activated.
Actual behavior
The maximum width is applied to the height for portrait format images, but only in mode "client-side resize"
Optional: Screenshots/Links that demonstrate the issue
Setup/Environment
- ProcessWire version: 3.0.229