Skip to content

[Feature Request] Resize images within notes #684

Closed

Description

@scorpionsoft7

The ability to resize images within notes similar to Logseq would be really helpful,
especially when the image sizes are on the larger size, thanks!

Activity

  1. added
    enhancement
    editor
    on Aug 27, 2026
  2. adibhanna commented on Aug 27, 2026

    @adibhanna
    Contributor

    Shipped in b44233c (lands in 2.39.0).

    Hover a picture in the editor and a handle appears on its right edge, Logseq-style. Drag it and the picture follows with a live px readout; on release the width is written into the note as the size hint ZenNotes already understood, ![[pic.png|450]] or ![caption|450](pic.png), one undo step, caret untouched. Nothing app-private, so the reading view, exports, the server and Obsidian all show the same size. Width only: the picture keeps its aspect ratio, and an existing WxH hint is replaced rather than distorted.

    Keyboard: Resize Image… in the command palette asks for a width for the image under the cursor (empty or auto strips the hint), and in Vim mode :imgwidth 480 (:imgw 480) writes it directly, :imgw auto resets, a bare :imgw opens the prompt.

    Thanks for the request. If the handle should also support the reading view, or you want the frame to hug a resized picture, open a follow-up and I will take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    editorenhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions