Imagine

by albusguo
5
4
3
2
1
Score: 53/100

Description

The Imagine plugin combines image management and image editing inside the vault. It opens a virtualized manager for browsing images, searching by file name, filtering by folder or reference status, sorting by file and reference data and checking which notes link to each file through the metadata cache. From the same workspace tab it can preview, rename, move, open and trash files, including batch actions and safer cleanup for unreferenced images. It also inserts single embeds or grid callouts, applies layout and dark inversion parameters, edits captions in place, supports drag resizing in Live Preview and opens a full window viewer with zoom and pan. It can pair custom source files with cover images and runs locally on desktop only.

Reviews

No reviews yet.

Stats

217
stars
34,302
downloads
12
forks
48
days
48
days
48
days
2
total PRs
0
open PRs
2
closed PRs
0
merged PRs
24
total issues
6
open issues
18
closed issues
81
commits

Latest Version

2 months ago

Changelog

新内容

  • 添加新的图片排版参数: 左/右对齐 (#24)
  • 设置选项可关闭 Obsidian 官方的单击图片灯箱功能

优化

  • 管理器、插图 modal 同步性能优化
  • 图片环绕排版阅读、编辑模式统一
  • 兼容 Obsidian 新版本图片菜单 (#26)

Full Changelog: https://github.com/AlbusGuo/albus-imagine/compare/1.8.1...1.9.0

README file from

Github

Imagine

Imagine

Imagine is an all-in-one image workflow plugin for Obsidian. It brings image browsing, reference analysis, insertion, layout, caption editing, resizing, previewing, and batch file operations into one local desktop plugin.

中文 | English

Highlights

  • Browse vault images in a responsive, virtualized image manager.
  • Search by file name and filter by vault folder or reference status.
  • Sort by modified time, created time, file size, file name, or reference count.
  • Detect links and embeds through Obsidian's metadata cache, including frontmatter links.
  • Rename, move, open, preview, and trash image files without leaving Obsidian.
  • Move or trash multiple selected files, or safely recheck and trash unreferenced images.
  • Insert individual images or generate a responsive Grid Callout from multiple selections.
  • Apply centered, aligned, wrapped, or inline layouts through Wiki link parameters.
  • Add dark-theme inversion and editable captions to image embeds.
  • Resize images by dragging their lower-right edge in Live Preview.
  • Open a full-window image viewer with zoom and pan controls.
  • Manage non-image source files through associated cover images.
  • Work across Obsidian pop-out windows.

Requirements and privacy

  • Obsidian 1.12.1 or later.
  • Desktop platforms only: Windows, macOS, and Linux.
  • Imagine works locally. It does not upload vault data, collect telemetry, or require an external service.

Installation

Community plugins

Once Imagine is available in the Obsidian community plugin directory:

  1. Open Settings → Community plugins.
  2. Select Browse and search for Imagine.
  3. Install the plugin and enable it.

BRAT

  1. Install BRAT.
  2. In the BRAT settings, select Add beta plugin.
  3. Enter https://github.com/AlbusGuo/albus-imagine.
  4. Enable Imagine under Settings → Community plugins.

Manual installation

  1. Download main.js, manifest.json, and styles.css from the latest release.
  2. Create <vault>/.obsidian/plugins/albus-imagine/.
  3. Place the three files in that folder.
  4. Restart Obsidian and enable Imagine under Settings → Community plugins.

Quick start

  1. Open the image manager from the ribbon icon or the command palette.
  2. Open the image picker from the command palette to insert an image at the current editor selection.
  3. In Live Preview, right-click an embedded Wiki link image to change its position, inversion, caption, or open its source file.
  4. Move the pointer near an image's lower-right corner and drag to resize it.
  5. Hold Ctrl and select an image to open Imagine's full-window viewer.

Image manager

The image manager opens as a regular workspace tab and keeps its state when Obsidian restores the workspace.

Browse and filter

  • Filter by vault folder with path suggestions.
  • Search by file name.
  • Switch between all images and unreferenced images.
  • Sort in ascending or descending order by modified time, created time, size, name, or reference count.
  • Exclude configured folders from the catalog.
  • Refresh the current results manually when needed.

The grid is virtualized and image media is loaded only for visible cards, keeping large collections responsive.

Reference analysis

Imagine uses Obsidian's public metadata cache and resolved link graph. It recognizes regular links, embeds, reference links, frontmatter links, and other references included in Obsidian's resolved counts. Reference results are cached and invalidated when Markdown metadata changes.

Select a card to open its preview and inspect every available referring note. Selecting a reference opens the note and navigates to the recorded location when one is available.

File operations

Each card provides actions to:

  • Open the file.
  • Rename the file.
  • Move the file to another vault folder.
  • Move the file to the system trash through Obsidian's file manager.

Multi-select mode supports batch move and batch trash. The unreferenced-image action performs fresh reference checks before the confirmation step and again before deletion, reducing the risk of removing a newly referenced file.

Preview

The preview modal includes:

  • Wheel zoom, pointer drag, and double-click reset.
  • File path, size, created time, and modified time.
  • A list of referring notes.
  • Separate source and cover details for custom file types.

Image picker and insertion

The image picker reuses the same catalog, folder filtering, search, sorting, virtualized grid, and lazy media loading as the manager.

Before inserting one image, you can choose:

  • Position: center, align left, align right, wrap left, wrap right, or inline.
  • Dark-theme inversion.
  • An optional caption.

Selecting one card inserts a Wiki embed at the active editor selection. Multi-select mode inserts plain image embeds inside a [!grid] callout:

> [!grid]
> ![[photo-1.jpg]]
> ![[photo-2.jpg]]
> ![[photo-3.jpg]]

Image layout syntax

Imagine stores layout parameters in Wiki links and renders them consistently in Reading View and Live Preview.

Parameter Result
center Centered block image
align-left Left-aligned block image without text wrapping
align-right Right-aligned block image without text wrapping
left Left-floating image with text wrapping
right Right-floating image with text wrapping
inline Inline image
dark Invert the image in a dark theme

Without a caption

Parameters follow the file path as pipe-separated fields:

![[diagram.svg|center]]
![[diagram.svg|dark|align-right]]
![[photo.jpg|left|480]]

With a caption

Layout and inversion parameters use URL fragments, while the first pipe field contains the caption. An optional size field remains supported:

![[architecture.png#center|System architecture]]
![[flowchart.svg#align-right#dark|Processing flow|640]]

The caption is displayed below the image. Its editor is positioned over the rendered caption, remains transparent in every interaction state, wraps long text automatically, and saves with Enter or when focus leaves the field. Press Escape to cancel editing.

Image context menu

Right-click a Wiki link image in Live Preview to add these actions to Obsidian's native image section:

  • Image position: center, align left, align right, wrap left, or wrap right.
  • Dark inversion: toggle the dark parameter.
  • Edit caption: edit the rendered caption in place.
  • Open source file: open the image or the source file represented by a custom cover.

Obsidian's own menu continues to provide standard file, link, and deletion actions.

Drag resizing

Drag resizing is available for images in Live Preview:

  1. Move the pointer into the configurable detection area near the lower-right edge.
  2. Drag horizontally to adjust the width while preserving the aspect ratio.
  3. Release the pointer to store the final width in the Markdown link.

Imagine writes the change through the CodeMirror transaction system, so normal editor undo and redo remain available. Callout and non-callout images can be enabled independently. The minimum width is 50 pixels, and an optional step value can snap the final width to a chosen interval.

Drag resizing does not run in Reading View, Canvas, plugin modals, or the image picker.

Full-window image viewer

When the viewer is enabled, hold Ctrl and select an image to open it. The viewer supports:

  • Wheel zoom around the pointer position.
  • Pointer drag to pan.
  • Double-click to reset the image.
  • Selecting the background or pressing Escape to close.
  • A checkerboard background for images with transparency.

The ordinary-click setting can keep Obsidian's viewer, suppress ordinary-click viewing, or replace Obsidian's viewer with Imagine. In Live Preview, the same choice also controls the zoom button in Obsidian's selected-image toolbar. Image selection, context menus, resizing, and the independent Ctrl-click shortcut remain available.

Custom file types

Imagine can represent a non-image source file with a related cover image. Each custom type defines:

  • The source file extension, such as pdf, psd, ai, or blend.
  • The cover image extension, such as png or jpg.
  • An optional cover folder. When empty, the cover is expected next to the source file.

For example, Designs/model.blend can use Covers/model.png as its visible card. Rename, move, and trash operations keep the source and cover together. A missing cover is shown explicitly instead of silently hiding the source file.

Supported image formats

Imagine recognizes these image extensions by default:

png, jpg, jpeg, gif, bmp, webp, svg, ico, tif, tiff, avif, heic, and heif.

Additional source formats can be added through the custom file type settings.

Settings reference

Imagine keeps the same tabbed settings interface across supported Obsidian versions. On Obsidian 1.13 and later, its settings are also indexed by the settings search.

Image manager

Setting Default Purpose
Show file size On Display file size on image cards
Show modified time On Display the last modified date on image cards
Default sort field Modified time Choose the initial manager sort field
Default sort order Descending Choose the initial manager sort direction
Excluded folders Empty Omit one vault folder path per line
Confirm deletion On Ask for confirmation before trashing files
Invert SVG images in dark mode On Control the plugin's dark-theme SVG inversion behavior and picker default

Image resizing

Setting Default Purpose
Resize images outside callouts On Enable drag resizing outside callouts
Resize images inside callouts On Enable drag resizing inside callouts
Resize step 0 Snap to a pixel interval; 0 disables snapping
Edge detection area 20 Set the activation area from 5 to 150 pixels

Image viewer

Setting Default Purpose
Enable Ctrl-click viewer On Enable Imagine's independent Ctrl-click shortcut
Ordinary image click Obsidian viewer Use Obsidian's viewer, open nothing, or use Imagine's viewer

Custom file types (Image manager)

Use the heading action in the Image manager settings to add a mapping. Existing mappings are summarized in a native SettingGroup and edited in a dedicated modal.

Limitations

  • The plugin is desktop-only.
  • Drag resizing and the custom image context menu require Live Preview.
  • Context-menu link editing currently supports Wiki link image embeds, not standard Markdown image syntax.
  • The custom viewer uses Ctrl on all desktop platforms.

Credits

The image viewer was inspired by Image Toolkit, and drag resizing was inspired by AttachFlow. Thank you to their authors and the Obsidian community.

License

Imagine is released under the GNU Affero General Public License v3.0.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Image Window
5 years ago by Jeremy Valentine
Adds the ability to open images in new Obsidian windows
Paste image rename
4 years ago by Reorx
Renames pasted images and all the other attachments added to the vault
Image Gallery
4 years ago by Luca Orio
A zero setup masonry image gallery for Obsidian
Copy document as HTML
4 years ago by mvdkwast
Obsidian plugin: copy document as HTML, including images
Emo
4 years ago by yaleiyale
Use image/file hosting in Obsidian by clipboard or draging file. Obsidian 图床聚合 & Github上传器
Image Layouts
4 years ago by Luke Chadwick
Local images plus
4 years ago by catalysm, aleksey-rezvov, Sergei Korneev
This repo is a reincarnation of obsidian-local-images plugin which main aim was downloading images in md notes to local storage.
Image Captions
4 years ago by Alan Grainger
Add captions to images with inline Markdown and link support. The caption format is compatible with the CommonMark spec and other Markdown applications.
Awesome Image
4 years ago by AwesomeDog
Obsidian image plugin: zoom, pan, rotate and gallery-preview images, then auto-organize them — download remote images, deduplicate by SHA-256 into a content-addressed media folder, fix Markdown image links, convert wikilink embeds, find unused images and export notes with their images.
Avatar
3 years ago by froehlichA
An obsidian plugin for displaying an avatar image in front of your notes.
Image OCR
3 years ago by kaffarell
Runs ocr on pasted images and posts result in details box. This allows to search in images.
Image To Lskypro
3 years ago by NekouTarou
支持直接上传图片到图床Lsky,基于https://github.com/renmu123/obsidian-image-auto-upload-plugin.git改造。
Cloudinary
3 years ago by Uday Samsani, Jordan Handy
Cloudinary plugin for content uploading and transformation.
Media Sync
3 years ago by fnya
Media Sync is Plugin for Obsidian
Qiniu Image Uploader
3 years ago by Jade Zheng
Uploads images from your clipboard to qiniu.com and embeds uploaded image to your note.
Image2LaTEX
3 years ago by Hugo Persson
This is a plugin for obsidian that will read your latest copied image from clipboard and generate math latex from it
Markdown Image Caption
3 years ago by Hananoshika Yomaru
Generate image caption easily. Completely markdown-based.
Image Classify Paste
3 years ago by tianfx
Image Helper
3 years ago by Chongmyung Park
Context menu to convert a image to another format in reading view in Obsidian.md
Copy Image
3 years ago by Felipe D.S. Lima
Easily copy image to clipboard by right clicking image.
Image Inline
3 years ago by Zackary W
convert images into base64 encoded strings and embed them directly within your notes
Image Collector
3 years ago by tdaykin
Image Magician
3 years ago by luxmargos
This is a plugin for Obsidian (https://obsidian.md). Supports viewing and exporting various image formats using ImageMagick.
Display Relative Path Img
3 years ago by Dyc
Display the relative path image referenced by <img> in Obsidian without altering the original document
Metadata Icon
3 years ago by Benature
change metadata entry icon
Tiff Viewer
3 years ago by Jan Ullmann
An obsidian plugin to easily convert tiff files to png so that they can be displayed in obsidian
Hash Pasted Image
2 years ago by Minh Vương
Auto rename pasted images added to the vault via hash algorithm SHA-512
Image Metadata
2 years ago by alexeiskachykhin
Adds image metadata editing capabilities to Obsidian
Lite Gallery
2 years ago by Jordan Poles
Fast Image Auto Uploader
2 years ago by Longtao Wu
upload images from your clipboard by gopic
Imgur
6 years ago by Kirill Gavrilov
Pastes images right to imgur.com
Image in Editor
5 years ago by Ozan Tellioglu
This Obsidian plugin to view Images, Transclusions, iFrames and PDF Files within the Editor without a necessity to switch to Preview.
Clear Unused Images
5 years ago by Ozan Tellioglu
Obsidian plugin to clear the images that are not used in note files anymore
Image auto upload
5 years ago by renmu123
auto upload image with picgo
Image Context Menus
5 years ago by NomarCub
Image Context Menus - Obsidian.md image context menus: copy, open in default app, show in system explorer, reveal in navigation context menu. Also Open PDF externally context menu.
Image Toolkit
5 years ago by sissilab
An Obsidian plugin for viewing an image.
Banners
5 years ago by Danny Hernandez
An Obsidian plugin that adds banners to your notes
Local images
5 years ago by catalysm, aleksey-rezvov
Mousewheel Image zoom
5 years ago by Nico Jeske
An Obsidian plugin that enables you to increase/decrease the size of an image by holding down a configurable key (defaults to left alt), hovering over an image in preview mode and scrolling.
Enhanced Image
2 years ago by situ2001
Enhance the experience of image in Obsidian, seamlessly.
Pixel Banner
2 years ago by Justin Parker
🚩 Enhance your Obsidian notes with customizable banner images, including AI-generated designs and a curated store of downloadable banners. Transform your workspace with visually stunning headers that add context, improve aesthetics, and take your note-taking beyond the ordinary.
Local Media Embedder
2 years ago by seyf1elislam
an obsidian plugin allows you to Embed videos and images and audios from your local device in your notes.
PDF2Image
2 years ago by RasmusAChr
Arweave Uploader
2 years ago by makesimple
Featured Image
2 years ago by Johan Sanneblad
Obsidian plugin to automatically set a featured image property in your notes based on the first image, YouTube link, or Auto Card Link image found in your document. This allows you to create rich note galleries using Folder Notes and Dataview.
Image Tools
2 years ago by Andrey Serov
Image Uploader For Note
2 years ago by Yunfi
Upload images in a note, and if the image is only used in this note, delete it from vault.
Pixel Perfect Image
2 years ago by Johan Sanneblad
Pixel perfect 100% image resizing, copy to clipboard, show image in Finder/Explorer, and much more.
Image Size
2 years ago by Jie Zhang
Set the default size for pasted images.
Paste Image Into Property
2 years ago by Nito
Media Slider
2 years ago by Aditya Amatya
An obsidian plugin that helps to make slider for images, audios, videos, pdfs, markdown, etc in obsidian notes.
Image Picker
2 years ago by ari.the.elk
Image to HTML
2 years ago by 0x1DA9430
A plugin for Obsidian that converts pasted images to HTML format instead of Obsidian's wikilink or Markdown format
Enhanced Publisher
a year ago by Cube
增强的Obsidian发布插件,支持图片自动存储、HTML预览和发布到微信公众号等内容平台
WebDAV Image Uploader
a year ago by ste
Uploads, downloads and deletes images on WebDAV server within Obsidian notes.
Memories
8 months ago by DIMFLIX
Plugin to display a gallery directly in a note.
Image Converter
2 months ago by xryul
⚡️ Convert, compress, resize, annotate, markup, draw, crop, rotate, flip, align images directly in Obsidian. Drag-resize, rename with variables, batch process. WEBP, JPG, PNG, HEIC, TIF.
PixNote
a month ago by Sofia Milton
Dynamic Views
a month ago by churnish
Obsidian plugin that adds elegant grid and masonry card views for Bases.