Image Manager

by David V. Kimball
5
4
3
2
1
Score: 36/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

stars
7,607
downloads
0
forks
1
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

RequirementsExperimental

  • Pexels API key for Pexels image search

  • Pixabay API key for Pixabay image search

Latest Version

Invalid date

Changelog

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.
Advanced Note Mover
a month ago by Lars Bücker
Quickly and easily move notes to a predefined folder. Perfect for organizing your notes.
Attachment Management
3 years ago by trganda
Attachment Management of Obsidian
Attachment Manager
3 years ago by chenfeicqq
Attachment folder name binding note name, automatically rename, automatically delete, show/hide.
Attachment Organizer
16 days ago by kiteruunner
Automatically organize attachments into zone-based folders with conflict detection and batch operations. - This plugin has not been manually reviewed by Obsidian staff.
Attachment Uploader
11 days ago by zhuxining
Upload attachments to PicSee or uPic, with customization for commands and file type.
Attachments Cache
a year ago by luisbs
Obsidian plugin to cache attachments locally
Auto Folder Note Paste
a year ago by d7sd6u
Convert your note into folder note upon pasting or drag'n'dropping an attachment
Bases Toolbox
15 days ago by Grub Basket
Quality-of-life tools for Bases and properties: find & replace property values across the vault, stop number properties from changing on arrow keys, and a searchable index of every property. - This plugin has not been manually reviewed by Obsidian staff.
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.
Consistent attachments and links
5 years ago by Dmitry Savosh
Obsidian plugin. Move note with attachments.
Content-Addressed Attachments
5 months ago by NateScarlet
Content-addressed attachment storage for automatic deduplication. Works entirely locally; optionally uses GitHub private repositories for hosting.
Custom Attachment Location
5 years ago by RainCat1998
Customize attachment location with variables($filename, $data, etc) like typora.
Fast Note Sync
a month ago by HaierKeys
Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base. - This plugin has not been manually reviewed by Obsidian staff.
File Cleaner
4 years ago by Johnson0907
A file cleaner plugin for Obsidian.
File Cleaner Redux
3 years ago by husjon
A plugin for Obsidian to help clean up files in your vault
Find Orphaned Images
a month ago by josmarcristello
Finds images in the vault that are not linked to any notes. Either lists, or deletes them.
Fold Properties
2 years ago by James Alexandre
Adds Fold/Unfold Properties Function to Folder Context Menu
Google Keep Import
3 years ago by Dale de Silva
Imports Google Keep backup files
Image Size
a year ago by Jie Zhang
Set the default size for pasted images.
inBox Sync
5 days ago by maoruibin
Sync notes from inBox app to your vault via WebDAV/S3. - This plugin has not been manually reviewed by Obsidian staff.
Infostacker Note Publish
2 years ago by Taskscape LTD, Patryk Nowak, Kacper Pabianiak
Infostacker plugin for Obisidian
Insert Multiple Attachments
2 years ago by mnaoumov
Obsidian Plugin that allows to insert multiple attachments at a time
Janitor
4 years ago by Gabriele Cannata
Performs various maintenance tasks on the Obsidian vault
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.
Live Variables
2 years ago by Hamza Ben Yazid
Define variables in your note's properties and reuse them throughout your content.
Local Any Files
2 years ago by ShermanTsang
A obsidian plugin used to extract and download files in your obsidian note.
MDX
3 years ago by Yulei Chen
Preview MDX in Obsidian, with support for Code Hike
Metadata Icon
2 years ago by Benature
change metadata entry icon
MetaEdit
5 years ago by Christian B. B. Houmann
MetaEdit for Obsidian
Multi Properties
3 years ago by fez-github
Plugin for Obsidian that allows user to add properties to multiple notes at once.
Note Companion Folder
2 years ago by Chris Verbree
A Obsidian Plugin providing a way to associate a folder to a note
Note Folder Autorename
6 years ago by PJ Eby
Obsidian plugin to support folder-overview notes by keeping their folder in sync
Nuke Orphans
4 years ago by Sandorex
Obsidian notes plugin that trashes orphaned files and attachments
O2
3 years ago by haril song
Converts obsidian markdown syntax to other platforms.
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)
Page Properties
3 years ago by Anton Bualkh
A plugin that adds Logseq-like page tags to Obsidian
Paste Image Into Property
a year ago by Nito
Paste image rename
4 years ago by Reorx
Renames pasted images and all the other attachments added to the vault
Pretty Properties
10 months ago by Anareaty
Property Panels
12 days ago by Eva Chen
Display and edit frontmatter properties in configurable panels inside notes. - This plugin has not been manually reviewed by Obsidian staff.
S3 attachments storage
4 years ago by TechTheAwesome
An Obsidian plugin for storage and retrieval of media attachments on S3 compatible services.
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.
Sync-safe file names
10 months ago by j-maas
Ensure your Obsidian files can always be synced across all your devices.
Unique attachments
5 years ago by Dmitry Savosh
Obsidian plugin. Renames attachments, making their names unique.
YAOS
3 months ago by kavinsood
This plugin has not been manually reviewed by Obsidian staff. A zero-terminal, real-time sync engine powered by your own Cloudflare Worker.