Skip to content

funcdfs/obsidian-image-enhancer

Repository files navigation

obsidian-image-enhancer

No fluff. No click fatigue. Just precise, efficient control over how images behave inside Obsidian.

Enhance image viewing, resizing, and context interaction in Obsidian — designed for power users who value clean, direct control.


Core Features

Smart Context Menu

All default image context items are removed and replaced with context-aware actions.

Local Images

  • Copy to Clipboard — copy raw image data.
  • Rename (Link Update) — rename the file and update its Markdown link automatically.
  • Open with Default App — use the system image viewer.
  • Reveal in File Manager — show the image in Finder or Explorer.
  • Locate in Sidebar — focus the file in Obsidian’s sidebar.

Online Images

  • Copy to Clipboard — fetch and copy remote image data.
  • Rename (Link Update) — rename linked alias text.
  • Open in Browser — open the image in an external browser.
  • Copy Image URL — copy the direct image address.
  • Copy Markdown Link — copy a reusable Markdown link.
  • Download as Local — save to Obsidian’s default attachment folder.

Dynamic Image Resizing

Drag image edges directly within the editor to adjust render size.

  • Supports Markdown, Wiki, and internal Obsidian link formats.
  • Works seamlessly in tables, callouts, and list items.
  • Provides real-time visual feedback with configurable border color and width.
  • Adjustable drag zone (full / right).

Smart Image Preview

Precision zoom and movement controls for focused image inspection.

  • Click the right half of an image to enter zoom view (90% screen ratio).

  • Click background to exit preview.

  • Drag to reposition; scroll or pinch to zoom (configurable sensitivity).

  • Subtle halo hides during movement and fades back when idle.

  • Right-click resets anchor and cycles between:

    • full
    • after-scroll
    • readable
  • Double-click or press ESC to exit fullscreen.


Configuration

Auto-Naming

  • Auto-fill image name segment → [on] / off
  • Append date → [on] / off (YYYY-MM-DD)
  • Append time → [on] / off (HH:mm)

Context Menu

  • Local images → [on] / off
  • Online images → [on] / off

Resize Behavior

  • Enable drag-resize → [on] / off
  • Border color → #RRGGBB (reset)
  • Border width → 2px (reset)
  • Active border → [full] / [right]

Preview Interaction

  • Enable preview → [on] / off
  • Active zone → [right] / left / full
  • Show mini “ESC” button → [on] / off
  • Exit on ESC or double-click → [on] / off
  • Draggable → [on] / off
  • Resizable → [on] / off
  • Right-click toggles size mode → [on] / off

About

[building] Enhance image viewing and interaction in Obsidian with smarter controls.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published