# Resize images vertically

**URL:** <https://forum.obsidian.md/t/resize-images-vertically/16225>\
**Category:** Feature requests\
**Created:** [April 9, 2021, 8:47pm UTC](https://forum.obsidian.md/t/resize-images-vertically/16225 "2021-04-09T20:47:31Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![flo-ui](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/f/7ab992/32.png) [@flo-ui](https://forum.obsidian.md/u/flo-ui)\
**Post date:** [April 9, 2021, 8:47pm UTC](https://forum.obsidian.md/t/resize-images-vertically/16225/1 "2021-04-09T20:47:31Z")

</div>

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:

```auto
[[image.png|x200]]

```

→ fixed height, width scales to retain the aspect ratio

### Current workaround

Currently there are two resize options implemented (Docs: [Embed files](https://help.obsidian.md/How+to/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

---

<div class="post-metadata">

**Author:** ![nostalgicfields](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/n/76d3ee/32.png) [@nostalgicfields](https://forum.obsidian.md/u/nostalgicfields)\
**Post date:** [February 17, 2022, 4:18pm UTC](https://forum.obsidian.md/t/resize-images-vertically/16225/2 "2022-02-17T16:18:36Z")

</div>

I’d like to resize an image by dragging a corner point, ideally. Similar to Adobe applications. In edit mode by clicking on an image perhaps it can show corner points for resizing and in preview mode it can hide them.

---

<div class="post-metadata">

**Author:** ![blombicar](https://forum.obsidian.md/user_avatar/forum.obsidian.md/blombicar/32/20333_2.png) [@blombicar](https://forum.obsidian.md/u/blombicar)\
**Post date:** [May 26, 2022, 5:51pm UTC](https://forum.obsidian.md/t/resize-images-vertically/16225/3 "2022-05-26T17:51:13Z")

</div>

This is what we really need, instead of having to fiddle with a numerical value until we find the desired view size. Evernote does a great job of letting you non-destructively resize an image while preserving aspect ratio by just grabbing a corner using your mouse.

---

<div class="post-metadata">

**Author:** ![enly1](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/e/e5b9ba/32.png) [@enly1](https://forum.obsidian.md/u/enly1)\
**Post date:** [September 18, 2022, 11:13am UTC](https://forum.obsidian.md/t/resize-images-vertically/16225/4 "2022-09-18T11:13:42Z")

</div>

Exactly the same ask and syntax suggested is intuitive. It is exactly he option I tried when checking if it could be done.

`[[image.png|x200]]`

---

<div class="post-metadata">

**Author:** ![tomsb](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/t/f17d59/32.png) [@tomsb](https://forum.obsidian.md/u/tomsb)\
**Post date:** [November 23, 2022, 11:58pm UTC](https://forum.obsidian.md/t/resize-images-vertically/16225/5 "2022-11-23T23:58:07Z")

</div>

I agree that a syntax is needed to specify width or height, or maybe even both. The `xW` could be a special case of `[[image.png|WxH]]`, so the default is backward-compatibility with `|W`, `|xH` specifies height only with aspect ratio kept, and `|WxH` lets aspect ratio be discarded.

---

<div class="post-metadata">

**Author:** ![mintier](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/e9a140/32.png) [@mintier](https://forum.obsidian.md/u/mintier)\
**Post date:** [June 7, 2023, 2:34am UTC](https://forum.obsidian.md/t/resize-images-vertically/16225/6 "2023-06-07T02:34:47Z")

</div>

Would love this feature as well 🙌  
I was honestly surprised when `[[image.png|x200]]` didn’t work—the syntax is very intuitive.

---

<div class="post-metadata">

**Author:** ![j.maffe](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/b5ac83/32.png) [@j.maffe](https://forum.obsidian.md/u/j.maffe)\
**Post date:** [October 19, 2023, 9:18am UTC](https://forum.obsidian.md/t/resize-images-vertically/16225/7 "2023-10-19T09:18:19Z")

</div>

Currently, to set the scale of an embedded image, you can simply add a `|width` or `|widthxheight|` to rescale it, which is great. However, as far as I could tell, there’s no way of only scaling the height of the image to a certain length while preserving the aspect ratio.

I think height scaling is actually even more useful than width because often height is the problem since it isn’t limited like width. It can also cause text between images to spread too far apart and require a lot of scrolling. Currently, I have to rescale each image by eye to limit the height of images.

I propose the simple syntax of `|xheight` to assign only the height of the image to be rescaled. I imagine this wouldn’t be too hard to implement as a CSS snippet but it sounds intuitive enough to be a main feature.

---

<div class="post-metadata">

**Author:** ![xRyul](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/x/dfb087/32.png) [@xRyul](https://forum.obsidian.md/u/xRyul)\
**Post date:** [October 29, 2023, 10:50am UTC](https://forum.obsidian.md/t/resize-images-vertically/16225/8 "2023-10-29T10:50:02Z")

</div>

Hey,

I do agree Obsidian needs some extra support for image manipulation, but until then maybe Image Converter plugin could help?

It can auto-apply `|size` to your dropped/pasted images, and even if image is still too big or too small, plugin gives you ability to easily resize any image by simply dragging edge of an image 🙌

The plugin also gives you ability to auto-resize by HEIGHT/WIDTH/LONGEST SIDE etc. ,although it is destructive, and it will resize your original image file.

---

<div class="post-metadata">

**Author:** ![j.maffe](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/b5ac83/32.png) [@j.maffe](https://forum.obsidian.md/u/j.maffe)\
**Post date:** [December 26, 2023, 7:30pm UTC](https://forum.obsidian.md/t/resize-images-vertically/16225/9 "2023-12-26T19:30:04Z")

</div>

I’ve been using the plugin for a few weeks and it does indeed fulfill the deed. Thanks for the suggestion!

I still do hope this feature is implemented in vanilla Obsidian as it simply makes too much sense.

---

<div class="post-metadata">

**Author:** ![j.maffe](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/b5ac83/32.png) [@j.maffe](https://forum.obsidian.md/u/j.maffe)\
**Post date:** [October 11, 2024, 9:11pm UTC](https://forum.obsidian.md/t/resize-images-vertically/16225/11 "2024-10-11T21:11:21Z")

</div>

This feature is still badly needed… most plugins overdo it and cause more issues. Surely this isn’t difficult to implement?

---

<div class="post-metadata">

**Author:** ![Jopp](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/8e7dd6/32.png) [@Jopp](https://forum.obsidian.md/u/Jopp)\
**Post date:** [October 12, 2024, 8:00am UTC](https://forum.obsidian.md/t/resize-images-vertically/16225/12 "2024-10-12T08:00:48Z")

</div>

A height declaration isn’t necessary, therefore it’s missing. Just specify the right width _to scale your hight accordingly._

If you want to cut your image to a different shape we’re taking about apples and oranges.  
In this case, I wouldn’t be sure if technically possible, maybe yes.  
I had the same idea time ago, but didn’t investigate further.

---

<div class="post-metadata">

**Author:** ![SLaSZT](https://forum.obsidian.md/user_avatar/forum.obsidian.md/slaszt/32/59596_2.png) [@SLaSZT](https://forum.obsidian.md/u/SLaSZT)\
**Post date:** [January 22, 2025, 5:03pm UTC](https://forum.obsidian.md/t/resize-images-vertically/16225/13 "2025-01-22T17:03:50Z")

</div>

Respectfully, if it wasn’t necessary for some, this thread wouldn’t exist.

I already know that images scale the height with the width when the height isn’t specified. That isn’t relevant because I want the image to scale to a specified height. As is, to do this I need to break out a calculator or do trial and error - how is that not a problem for the user when a viable technical solution is more than possible?

The `[image.png|width]` syntax is not standard Markdown already; adding `[image.png|autoxheight]` or similar is not a very large ask and would help many people who use Obsidian professionally or simply want a standardized height in their notes that contain images.

Just because you aren’t sure of the technical possibility or usefulness does not mean it shouldn’t be implemented. Honestly, coming here to say “no, I don’t need that” is pretty weird.

---

<div class="post-metadata">

**Author:** ![Jopp](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/8e7dd6/32.png) [@Jopp](https://forum.obsidian.md/u/Jopp)\
**Post date:** [January 22, 2025, 5:51pm UTC](https://forum.obsidian.md/t/resize-images-vertically/16225/14 "2025-01-22T17:51:22Z")

</div>

Well, I wrote my comment months ago, feels like ages for me.  
Are you interested to scale your images vertically and additionally, add them to a grid ? (Grid is optional)  
If yes, check out [my wiki](https://github.com/Jopp-gh/Obsidian-Dune84/blob/main/Wiki/Pictures.md#simple-image-grid), maybe it’s useful for you.

---

<div class="post-metadata">

**Author:** ![RamachandraFinlay](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/r/65b543/32.png) [@RamachandraFinlay](https://forum.obsidian.md/u/RamachandraFinlay)\
**Post date:** [August 27, 2025, 9:11am UTC](https://forum.obsidian.md/t/resize-images-vertically/16225/15 "2025-08-27T09:11:23Z")

</div>

[Image Converter](https://github.com/xryul/obsidian-image-converter) can do it

 ![图片](https://forum.obsidian.md/uploads/default/original/3X/2/f/2fea62e19dd9053bf02f212f891028f6fd9040b3.png)

---

<div class="post-metadata">

**Author:** ![MrSamoDude](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/e19b73/32.png) [@MrSamoDude](https://forum.obsidian.md/u/MrSamoDude)\
**Post date:** [September 20, 2025, 5:15pm UTC](https://forum.obsidian.md/t/resize-images-vertically/16225/16 "2025-09-20T17:15:13Z")

</div>

I don’t know if this feature was added at some point, but after trial and error, I found if I use the following format it will lock the height and scale the aspect ratio respectively.

```auto
[[image.png|0x200]]

```

This works great when I’m placing portrait and landscape images side by side and don’t want the white space above the landscape image.
