Julsfels
Member
- Affected version
- 2.2.4
Hello,
we have a problem with setting the height for an attached image and leaving the width = auto.
In the editor, everthing works as expected - setting the width to 800 and height = auto resizes the image according to the width...
... and setting the height to 300 and width = auto resizes the image according to the height.
But in Preview and after posting, only the image with modified width shows up correctly, the one with modified height sets the new height but stretches the image to full original width instead of resizing the whole image.
I insert the example below:
the original picture (first one) has the size 1920 x 1080 Pixels.
The second picture has width = 800 and height = auto, the image is resized as expected.
The third picture has height = 300 and width = auto, and the picture gets stretched after posting and not resized.
When I edit the post, the difference between editor and preview/posted is still there.
Is this by design and intended to be correct, or is it a bug?
EDIT: one of our users told me that it worked before the Upgrade to 2.2.4, because she always resizes pictures this way.
Thanks in advance!
we have a problem with setting the height for an attached image and leaving the width = auto.
In the editor, everthing works as expected - setting the width to 800 and height = auto resizes the image according to the width...
... and setting the height to 300 and width = auto resizes the image according to the height.
But in Preview and after posting, only the image with modified width shows up correctly, the one with modified height sets the new height but stretches the image to full original width instead of resizing the whole image.
I insert the example below:
the original picture (first one) has the size 1920 x 1080 Pixels.
The second picture has width = 800 and height = auto, the image is resized as expected.
The third picture has height = 300 and width = auto, and the picture gets stretched after posting and not resized.
When I edit the post, the difference between editor and preview/posted is still there.
Is this by design and intended to be correct, or is it a bug?
EDIT: one of our users told me that it worked before the Upgrade to 2.2.4, because she always resizes pictures this way.
Thanks in advance!
Last edited: