Hi, this is my first post in this forum. I checked for possible duplicates and considered opening a new feature request for valid. Feel free to correct me if i have to do things differently
Use case or problem
For my use case i would like to resize an image by setting only a fixed height.
In my opinion, this is at least as important as resizing by width, because the vertical space of a document defines how much you can read until you have to scroll/turn pages.
An implementation of this feature would enable me to easily resize images with different aspect ratios to take up the same vertical space.
Proposed solution
My proposal for this would be:
[[image.png|x200]]
β fixed height, width scales to retain the aspect ratio
Current workaround
Currently there are two resize options implemented (Docs: Embed files )
-
![[image.png|100x100]]
(fixed height and width) -
![[image.png|100]]
(fixed width)
This Works also for linked images.
Both options are not to my satisfaction. The first one distorts the image if i do not calculate the scaled image by aspect ratios. The second one also requires calculation to do for every image embedded.
I would really like to hear your opinions on this topic
Annotations
Itβs a bit unrelated but i would also like to have the option to center a resized image
horizontally