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

Image Hover Preview

shin2wshin2w153 downloads

Hover your cursor over images to display a floating preview with zoom support.

Add to Obsidian
Image Hover Preview screenshot
  • Overview
  • Scorecard
  • Updates3

中文

all code generated by AI.

Image Hover Preview

An Obsidian plugin that shows a floating preview of images when you hover over image links or Markdown image tags.

Features

  • Instant preview — Hover over ![]() tags or image links to see a full-resolution preview
  • Smart positioning — Preview stays within the editor area, never overflows into sidebars
  • Mouse tracking — Preview follows the cursor as you move around the image
  • Scroll zoom — Hold a configurable key + scroll wheel to zoom in/out
  • Hard zoom limit — Small images can only be enlarged until they fill the editor area, never beyond
  • Zoom reset — Automatically resets to 1:1 when preview is closed and reopened
  • Caption — Optionally show the file name or custom title at the bottom
  • Hover delay — Configurable delay to prevent popups when the mouse just passes by
  • Trigger key — Require a modifier key to activate preview
  • Temporary suppression — Hold a key to temporarily disable preview (useful for screenshots or selecting text)
  • Hover indicator — Visual feedback (outline / custom cursor) when hovering over a previewable element
  • Loading spinner — Animated indicator while the image is being loaded
  • Customizable style — Background color, border, border radius, box shadow, opacity
  • Preload — Automatically scans previewable elements on page load for faster response
  • Minimum size filter — Ignores small icons below a configurable size threshold

Installation

Manual

  1. Download main.js, styles.css, and manifest.json from the Releases page
  2. Place them in your vault's plugin folder: <vault>/.obsidian/plugins/image-hover-preview/
  3. Enable Image Hover Preview in Obsidian Settings → Community Plugins

Build from source

git clone https://github.com/your-repo/image-hover-preview.git
cd image-hover-preview
npm install
npm run build

Copy the output files (main.js, styles.css, manifest.json) to your .obsidian/plugins/image-hover-preview/.

Usage

Hover over any image link or Markdown image tag:

![[assets/example.png]]
![alt text](https://example.com/image.jpg)

Zoom

Action Default key Description
Zoom in Shift + scroll up Scale up by 20%
Zoom out Shift + scroll down Scale down by 20%
Reset Close & reopen preview Back to 1:1

The zoom modifier key can be changed or disabled in settings.

Settings

Setting Default Description
Enable plugin On Global toggle
Trigger key None Hold this key to activate preview
Suppress key Ctrl Hold this key to temporarily disable preview
Zoom key Shift Hold this key + scroll to zoom
Display delay 300ms Hover delay before showing preview
Opacity 1.0 Preview window opacity
Show caption On Display file name at the bottom
Hover effect Outline Visual feedback on hoverable elements
Background #1e1e1e Preview window background color
Border 2px solid #555 Preview window border
Border radius 8px Preview window corner radius
Box shadow 0 8px 32px rgba(0,0,0,0.5) Preview window shadow
Min image size 30px Images smaller than this won't trigger preview
Preload On Scan previewable elements on page load

Compatibility

  • ✅ Obsidian v0.15.0+
  • ❌ Desktop only (not supported on mobile)
  • Supports internal attachments (![[path/to/image.png]])
  • Supports external links (![alt](https://...))
  • Supports inline Markdown images (![](...))
  • Supports wiki-style links (![[image-name]])

How it works

The preview (PreviewOverlay) is a position: fixed overlay with these design choices:

  • pointer-events: none — the preview never intercepts mouse events, so the editor remains fully interactive
  • Editor boundary — each reposition calculates the available space inside the editor area (getEditorBounds()) to avoid spilling into sidebars
  • Adaptive sizing — images smaller than the window display at natural size; images larger than the editor area are scaled down to fit
  • Zoom clamp — getMaxZoom() prevents zooming beyond the editor's dimensions, so the preview never overflows

demo

示例

Sponsor

wechat

HealthExcellent
ReviewPassed
About
Preview original images by hovering over any image to open a floating full-size preview. Zoom the preview with the mouse wheel and hold Ctrl to temporarily disable the hover preview.
ImagesAppearance
Details
Current version
1.8.0
Last updated
Last month
Created
4 months ago
Updates
3 releases
Downloads
153
Compatible with
Obsidian 0.15.0+
Platforms
Desktop only
License
GPL-3.0
Report bugRequest featureReport plugin
Author
shin2wshin2w
GitHubshin2w
  1. Community
  2. Plugins
  3. Images
  4. Image Hover Preview

Related plugins

Pretty Properties

Makes note properties look more fun: adds side image, banners, list property colors and allows to hide specific properties.

Pixel Banner

Enhance your notes with customizable banner images.

Background Image

Specify a remote URL as the background image, and a few settings to tweak the experience.

Minimal Theme Settings

Control the colors and fonts in Minimal Theme.

Hider

Hide interface elements such as tooltips, status bar, titlebar, and more.

Style Settings

Adjust theme, plugin, and snippet CSS variables.

Note Toolbar

Add customizable toolbars to your notes.

Ink

Handwriting and drawing directly between paragraphs using a digital pen, stylus, or Apple pencil.

Link Favicons

See the favicon for a linked website.

Chat View

Chat View lets you quickly and easily create elegant Chat UIs in your Markdown Files.