Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Better Live Preview Image

Dong YangDong Yang1k downloads

Improves Live Preview image editing with Markdown reveal, resize, and alignment tools.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates8

Better Live Preview Image improves image alignment and callout image sizing in Obsidian.

Features

Better Live Preview Image currently has two features:

  1. Image alignment: Align images left, center, or right from the image context menu, command palette, or user-assigned hotkeys.
  2. Callout image size markers: Apply Obsidian image width and height markers to images inside callouts in Live Preview and Reading view.

Usage

Right-click an image in Live Preview or Reading view and choose one of:

  • Align image left
  • Align image center
  • Align image right

You can also run these commands from the command palette:

  • Better Live Preview Image: Set current image left aligned
  • Better Live Preview Image: Set current image centered
  • Better Live Preview Image: Set current image right aligned

The plugin does not reserve default hotkeys. To assign shortcuts, use Obsidian's built-in Settings -> Hotkeys page and search for Better Live Preview Image.

When you use Obsidian's native Edit this block button, the image remains visible with its current alignment while the Markdown source is shown.

Callout Image Size Markers

Enable Apply image size markers inside callouts in the plugin settings. When enabled, images inside callouts use Obsidian width and height markers in Live Preview and Reading view:

> [!info] Example
> ![[image.png|240]]
> ![[image.png|240x160]]

This setting is enabled by default. Turning it off removes only the plugin-applied inline sizing from rendered callout images; it does not modify your Markdown.

How Data Is Stored

Alignment is stored as an image alt marker:

![[image.png|left]]
![[image.png|center|300]]
![[image.png|right|500x300]]
![left|caption|300](image.png)

When an image matches the default alignment configured in the plugin settings, the explicit alignment marker is removed. The plugin's CSS then applies the default alignment while the plugin is enabled.

Settings

  • Default image alignment: Choose the alignment used for images without an explicit left, center, or right marker.
  • Apply image size markers inside callouts: Make callout images honor Obsidian width and height markers in Live Preview and Reading view.

Notes And Limitations

  • The plugin is designed for Markdown image embeds and standard Markdown image links.
  • The context menu integration targets rendered images in Live Preview and Reading view.
  • Alignment is implemented with CSS classes and Markdown alt markers. If you disable the plugin, explicit markers remain in your Markdown, but the default alignment setting no longer applies.

Privacy

Better Live Preview Image runs entirely inside your vault. It does not use network access, telemetry, ads, accounts, or external services.

Installation

After the plugin is published, install it from Settings -> Community plugins -> Browse and search for Better Live Preview Image.

Obsidian 1.13.0 or later is required.

For manual installation, copy these files into .obsidian/plugins/better-live-preview-image/:

  • manifest.json
  • main.js
  • styles.css

Then enable Better Live Preview Image from Settings -> Community plugins.

Support

If you find a bug, include:

  • The image Markdown before and after the action
  • Whether you used the context menu, a command, a hotkey, or Obsidian's native edit button
  • Your Obsidian version

Development

pnpm install
pnpm run lint
pnpm run build

Releasing

Update manifest.json, package.json, versions.json, and CHANGELOG.md, then run:

pnpm run release

The script validates the release, runs lint and the build, commits all repository changes, creates the version tag, and atomically pushes main and the tag. The tag triggers the GitHub Actions release workflow. The default commit message is Release <version>; override it with --message:

pnpm run release -- --message "Describe the release"

To validate everything without committing, tagging, or pushing:

pnpm run release -- --dry-run
HealthExcellent
ReviewPassed
About
Edit image Markdown directly in Live Preview to keep notes portable and readable. Align images left, center, or right from the context menu or commands, and resize using the lower-right handle while the image’s Markdown link stays visible.
ImagesMarkdownEditing
Details
Current version
1.1.2
Last updated
Last month
Created
4 months ago
Updates
8 releases
Downloads
1k
Compatible with
Obsidian 1.13.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
Dong YangDong Yangydd0729
GitHubydd0729
  1. Community
  2. Plugins
  3. Images
  4. Better Live Preview Image

Related plugins

Outliner

Work with your lists like in Workflowy or Roam Research.

Image Captions

Add captions to images with inline Markdown and link support. The caption format is compatible with the Commonmark spec and other Markdown applications.

Various Complements

Complete words similar to auto-completion in an IDE.

Heading Shifter

Easily Shift and Change Markdown headings.

Imagine

A comprehensive image management plugin for managing, inserting, resizing, viewing, and batch processing images.

Shortcuts extender

Use shortcuts for input special symbols without language switching.

Chord Sheets

Work with chord sheets (chords over lyrics or inline) in Live Preview and reading mode: Chord diagrams for guitar, ukulele, mandolin and piano, transpose, autoscroll, and more.

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.