Image Manager

by David V. Kimball
5
4
3
2
1
Score: 32/100

Description

The Image Manager plugin handles image insertion, renaming, storage and display inside notes. It can pick local files, pull remote images from Unsplash, Pexels and Pixabay, accept paste or drag and drop input and insert links into note content or properties. The plugin can rename files during paste, import and remote conversion, build filenames from templates, prompt for descriptions and avoid duplicate names with automatic numbering. It also converts remote image URLs into local attachments on note open, note save or across the whole vault. Storage rules can follow the default attachment setting or custom paths, and banner images can be shown from properties with separate desktop, tablet and phone settings. Remote search through Pexels and Pixabay needs API keys for those services.

Reviews

No reviews yet.

Stats

5
stars
9,043
downloads
1
forks
47
days
47
days
47
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
2
total issues
2
open issues
0
closed issues
53
commits

RequirementsExperimental

  • Pexels API key for Pexels image search

  • Pixabay API key for Pixabay image search

Latest Version

2 months ago

Changelog

Call preventDefault in the paste and drop handlers; bump to 0.3.11

The 0.3.10 review surfaced the real blocker once the source scan could run again: two eslint-disable comments for obsidianmd/editor-drop-paste, which the scorecard reports as an Error rather than a Warning.

The disables were there because preventDefault must not fire for a plain text paste or a normal drag and drop, and the decision lived inside the async handler where the rule could not see it. The guards that lead to that decision were already synchronous, so expose them as willHandlePaste and willHandleDrop, and have the workspace handler decide and call preventDefault itself. Behaviour is unchanged: the same conditions decide, just one level up, so the disables are no longer needed.


Full Changelog: https://github.com/davidvkimball/obsidian-image-manager/compare/0.3.10...0.3.11

README file from

Github

Image Manager for Obsidian

Insert, rename, and sort images within your notes.

Image Manager unifies functionality from multiple image-related plugins into one cohesive experience, providing comprehensive image management for your Obsidian vault.

Made for Vault CMS

Part of the Vault CMS project.

Features

Image Insertion

  • Local file picker - Select images from your computer using the OS native file explorer
  • Remote image search - Search and download images from Unsplash, Pexels, and Pixabay with filters for orientation, size, and more
  • Paste and drop - Paste images from clipboard or drag and drop files directly into notes
  • Multiple insertion methods - Insert into note content or directly into properties

Image Management

  • Automatic rename dialog - Prompt to rename images when pasted or inserted (configurable per action type)
  • Descriptive images - Optionally prompt for image descriptions, used as display text and kebab-case filename
  • Smart deduplication - Automatically handles duplicate filenames with intelligent numbering
  • Template-based naming - Customize image names using template variables ({{fileName}}, {{dirName}}, {{DATE}}, {{TIME}}, etc.)
  • Supported file extensions - Configure which file types trigger image processing (default: .md, .mdx)

Property Integration

  • Paste into properties - Paste images directly into properties with a single action
  • Multiple link formats - Choose from Obsidian default, path, wikilink, markdown link, relative path, or custom format
  • MDX support - Full compatibility with MDX files in addition to standard Markdown (uses custom properties handling)
  • Default property name - Configure which property to use when inserting images into properties

Remote Image Conversion

  • Auto-convert remote images - Automatically convert remote image URLs to local files
  • Convert on note open - Process remote images when opening a note (non-blocking)
  • Convert on note save - Process remote images when saving a note
  • Rename during conversion - Show rename dialog for each converted image
  • Batch conversion - Convert all remote images across your entire vault with a single command

Attachment Management

  • Flexible storage - Follow Obsidian's default, use same folder, subfolder, or centralized location
  • Custom attachment paths - Configure custom paths using template variables
  • Attachment location override - Override Obsidian's default attachment location per note or globally

Banner Images

  • Banner display - Display banner images from properties at the top of notes
  • Device-specific settings - Configure different banner settings for desktop, tablet, and phone
  • Customizable appearance - Control height, offset, border radius, padding, fade effects, and animations
  • Icon support - Display icons alongside banners with customizable positioning and styling
  • MDX compatible - Works with both Markdown and MDX files

Commands

  • Insert local image - Open file picker to select and insert a local image
  • Insert remote image - Open remote image search modal
  • Insert local image to property - Insert a local image into a property
  • Insert remote image to property - Insert a remote image into a property
  • Convert remote images - Convert remote images to local files in the current note
  • Convert all remote images - Convert remote images to local files in all notes

Installation

  1. In Obsidian, go to Settings > Community plugins (enable it if you haven't already).
  2. Search for Image Manager and click Install and then Enable.

Manual

  1. Download the latest release from the Releases page and navigate to your Obsidian vault's .obsidian/plugins/ directory.
  2. Create a new folder called image-manager and ensure manifest.json, main.js, and styles.css are in there.
  3. In Obsidian, go to Settings > Community plugins (enable it if you haven't already) and then enable "Image Manager."

Development

  1. Clone this repository
  2. Run pnpm install
  3. Run pnpm dev to start compilation in watch mode
  4. The plugin will be compiled to main.js

Usage

Getting Started

  1. Open Settings → Image Manager
  2. Configure your preferred image services (Unsplash, Pexels, Pixabay)
  3. Set up API keys if using remote image search (see below)
  4. Configure rename behavior and attachment locations
  5. Use commands or paste/drop images to get started

Remote Image Services

Unsplash: Uses a proxy server (default provided) or configure your own. No API key required for basic usage, but you can configure a custom proxy URL for better performance.

Pexels: Requires an API key from Pexels API. Free tier available with generous rate limits.

Pixabay: Requires an API key from Pixabay API. Free tier available.

Configuration Options

The plugin offers extensive configuration through Settings → Image Manager:

  • General Settings: Enable/disable rename prompts for paste and drop actions
  • Image Services: Configure API keys and proxy URLs for Unsplash, Pexels, and Pixabay
  • Property Insertion: Set default property name and link format for property insertion
  • Conversion: Configure automatic conversion of remote images on note open/save
  • Rename Options: Customize name templates and descriptive image prompts
  • Banner Images: Configure device-specific banner display settings
  • Advanced: Debug mode, supported file extensions, and attachment location overrides

Compatibility

  • Platform: Works on both desktop and mobile (Obsidian 0.15.0+)
  • File Types: Supports both .md and .mdx files (configurable)
  • Obsidian Version: Compatible with Obsidian 0.15.0 and later
  • Settings Compatibility: Uses SettingGroup compatibility layer for Obsidian 1.11.0+ with fallback for older versions

Development

This project uses TypeScript and follows Obsidian plugin best practices with a modular service-based architecture.

Prerequisites

  • Node.js (v16 or later)
  • pnpm (v10.20.0 or later)

Setup

  1. Clone this repository
  2. Run pnpm install to install dependencies
  3. Run pnpm dev to start compilation in watch mode
  4. The plugin will be compiled to main.js

Building

pnpm build

Builds the plugin for production (includes type checking).

Development Mode

pnpm dev

Starts esbuild in watch mode for automatic recompilation.

Linting

pnpm lint        # Check for linting errors
pnpm lint:fix    # Auto-fix linting errors

Project Structure

  • src/main.ts - Plugin entry point and event registration
  • src/services/ - Core service classes (ImageProcessor, StorageManager, etc.)
  • src/modals/ - UI modals (RenameModal, RemoteSearchModal, etc.)
  • src/utils/ - Utility functions (MDX frontmatter, settings compatibility, etc.)
  • src/settings.ts - Settings interface and settings tab
  • src/types.ts - Shared TypeScript interfaces

Credits

This plugin unifies functionality from the following excellent plugins:

Additional inspiration and patterns from:

License

MIT License - see LICENSE file for details.

Support

For issues, feature requests, or questions, please visit the GitHub repository.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
File Cleaner
5 years ago by Johnson0907
A file cleaner plugin for Obsidian.
Paste image rename
4 years ago by Reorx
Renames pasted images and all the other attachments added to the vault
Nuke Orphans
4 years ago by Sandorex
Obsidian notes plugin that trashes orphaned files and attachments
Janitor
4 years ago by Gabriele Cannata
Performs various maintenance tasks on the Obsidian vault
Obsidian markdown export
4 years ago by bingryan
This plugin allows to export directory/single markdown to a folder. support output format(html/markdown/text)
S3 attachments storage
4 years ago by TechTheAwesome
An Obsidian plugin for storage and retrieval of media attachments on S3 compatible services.
O2
4 years ago by haril song
Converts obsidian markdown syntax to other platforms.
Page Properties
3 years ago by Anton Bualkh
A plugin that adds Logseq-like page tags to Obsidian
Google Keep Import
3 years ago by Dale de Silva
Imports Google Keep backup files
Attachment Management
3 years ago by trganda
Attachment Management of Obsidian
MDX
3 years ago by Yulei Chen
Preview MDX in Obsidian, with support for Code Hike
Attachment Manager
3 years ago by chenfeicqq
Attachment folder name binding note name, automatically rename, automatically delete, show/hide.
Multi Properties
3 years ago by fez-github
Plugin for Obsidian that allows user to add properties to multiple notes at once.
File Cleaner Redux
3 years ago by husjon
A plugin for Obsidian to help clean up files in your vault
Metadata Icon
3 years ago by Benature
change metadata entry icon
Note Companion Folder
3 years ago by Chris Verbree
A Obsidian Plugin providing a way to associate a folder to a note
Infostacker Note Publish
2 years ago by Taskscape LTD, Patryk Nowak, Kacper Pabianiak
Infostacker plugin for Obisidian
Live Variables
2 years ago by Hamza Ben Yazid
Define variables in your note's properties and reuse them throughout your content.
Note Folder Autorename
6 years ago by PJ Eby
Obsidian plugin to support folder-overview notes by keeping their folder in sync
Consistent attachments and links
6 years ago by Dmitry Savosh
Obsidian plugin. Move note with attachments.
Unique attachments
6 years ago by Dmitry Savosh
Obsidian plugin. Renames attachments, making their names unique.
MetaEdit
5 years ago by Christian B. B. Houmann
MetaEdit for Obsidian
Custom Attachment Location
5 years ago by RainCat1998
Customize attachment location with variables($filename, $data, etc) like typora.
Cloud Storage
2 years ago by Jiajun Ma
Obsidian Cloud Storage is a powerful and user-friendly plugin designed to seamlessly integrate cloud storage capabilities into your Obsidian workflow. This plugin allows you to effortlessly upload your attachments to the cloud, freeing up local storage space and enabling easy sharing and access across all your devices.
Fold Properties
2 years ago by James Alexandre
Adds Fold/Unfold Properties Function to Folder Context Menu
Insert Multiple Attachments
2 years ago by mnaoumov
Obsidian Plugin that allows to insert multiple attachments at a time
Local Any Files
2 years ago by ShermanTsang
A obsidian plugin used to extract and download files in your obsidian note.
Sentinel
2 years ago by Giorgos Sarigiannidis
A plugin for Obsidian that allows you to update properties or run commands based on document visibility changes.
Image Size
2 years ago by Jie Zhang
Set the default size for pasted images.
Paste Image Into Property
2 years ago by Nito
Attachments Cache
2 years ago by luisbs
Obsidian plugin to cache attachments locally
Auto Folder Note Paste
2 years ago by d7sd6u
Convert your note into folder note upon pasting or drag'n'dropping an attachment
Linked Note Exporter
a year ago by the-c0d3r
Obsidian plugin to export a note along with all its attachments and linked notes—cleanly, conveniently, and ready to share.
Pretty Properties
a year ago by Anareaty
Sync-safe file names
a year ago by j-maas
Ensure your Obsidian files can always be synced across all your devices.
Content-Addressed Attachments
6 months ago by NateScarlet
Stores obsidian attachments using content-based addressing (similar to IPFS)
YAOS
5 months ago by kavinsood
A zero-terminal, real-time sync engine powered by your own Cloudflare Worker.
Advanced Note Mover
2 months ago by Lars Bücker
Quickly and easily move notes to predefined folders. Perfect for organizing your notes.
Fast Note Sync
2 months ago by HaierKeys
Can be privately deployed, focusing on providing Obsidian users with a seamless, distraction-free note synchronization plugin with real-time sync across multiple platforms, supporting Mac, Windows, Android, iOS, and offering multilingual support.可私有化部署,专注为 Obsidian 用户提供无打扰、丝般顺滑、多端实时同步的多平台笔记同步插件。
Find Orphaned Images
2 months ago by josmarcristello
Find Orphaned Images is an Obsidian plugin designed to help you keep your vault clean and organized by identifying and managing images that are not linked anywhere in your notes.
Attachment Organizer
2 months ago by kiteruunner
Automatically organize attachments into zone-based folders with conflict detection and batch operations
Bases Toolbox
2 months ago by Grub Basket
Adds Quality of Life features to Obsidian Bases
Property Panels
2 months ago by Eva Chen
Display and edit Obsidian frontmatter properties in configurable panels that stay inside the note's scrollable content.
Attachment Uploader
2 months ago by zhuxining
An attachment uploader plugin for Obsidian
inBox Sync
2 months ago by maoruibin
inBox 笔记的 Obsidian 插件
Bi Ji Tong Bu
a month ago by 笔记同步助手
Bi Ji Tong Bu (笔记同步助手) for Obsidian — marketplace edition (no self-update; full disclosures)
PixNote
a month ago by Sofia Milton
Bases Board
a month ago by flowing-abyss
Kanban and gallery views for Obsidian Bases.
Advanced Rename and Delete Handler
a month ago by Michael Naumov
Handles renames and deletes for the whole vault in one place: updates links, moves attachment files and folders, and cleans up what a deletion leaves behind.
Oriko
a month ago by trevware
A pannable, zoomable wall of your web clippings. Sort them into grids, filter by any property, and clip from your phone. Media is downloaded into your vault, so clippings keep their images and videos even if the source page is deleted.
Feishu Importer
21 days ago by leon
feishu document importer for Obsidian
Add Attachment
16 days ago by olegg90
Obsidian plugin for adding multi attachments