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
  • Join the community
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Image Inserter

cloudy9101cloudy910118k downloads

Help users easily search and insert images to editors from Unsplash.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates26

This plugin helps users easily search and insert images to editors from one or more image sources.

Features

  • Search images from Unsplash / Pixabay / Pexels (Will support more sources in the future)
  • Insert image locally (download it into your resource folder), or remotely (only insert the image url)
  • Insert image with preferred quality
  • Set default image size, support only width or width and height
  • Set preferred image orientation when searching
  • Insert image to frontmatter with customized key and value format

Support Image Sources

  • Unsplash Unsplash provides over 3 million free high-resolution images.
  • Pixabay Over 2.8 million+ high quality stock images, videos and music shared by our talented community.
  • Pexels The best free stock photos, royalty free images & videos shared by creators.

Usage

Insert image to current place

demo.webm

When editing a note and want to insert an image from Unsplash:

  1. Open command palette (⌘+P / Ctrl+P).
  2. Search the command "Image Inserter: Insert Image".
  3. Click on the command, then a modal opened.
  4. Input some words describe image you'd like to insert, e.g. robot.
  5. Wait a second, there will show several images from Unsplash / Pixabay / Pexels.
  6. Click an image you'd like to insert.
  7. The image should be inserted into your note now.

Insert image to frontmatter

About front matter. Some plugins or markdown driven site generators read from front matter as metadata and maybe extract the header image or cover image from the metadata. Our insert image to frontmatter feature should be useful in those cases.

If you want to insert an image to frontmatter:

  1. Set the frontmatter key and value format in the plugin setting tab.
  2. Open a markdown file you want to edit
  3. Open command palette (⌘+P / Ctrl+P).
  4. Search the command "Image Inserter: Insert Image in Frontmatter" and click.
  5. Search and click an image you want to insert in the opened modal.
  6. The image URL should be inserted into your file's frontmatter with the set key and value format.

Tip

You can also set a hotkey for the "Image Inserter: Insert Image" and "Image Inserter: Insert Image in Frontmatter" command which allows you activate the command without open command palette and search it. Custom hotkeys

Key Bindings

In the image searching modal, there's several convience shortcut key bindings. Ctrl + n -> select next image Ctrl + p -> select previous image Ctrl + u -> switch image provider Ctrl + i -> switch image quality

Installation

From the Community Plugins list (Recommend)

Search for "Image Inserter" in Obsidian's community plugins browser. Enable the plugin in your Obsidian settings (find "Image Inserter" under "Community plugins").

Manually installing the plugin

Copy over main.js, styles.css, manifest.json to your vault VaultFolder/.obsidian/plugins/insert-unsplash-image/.

Notes

Unsplash API Proxy

Between your editor and Unsplash API, there is an HTTP proxy that runs on my own server. This means all your search input will send to my own server first. Please don't use this plugin if you can't accept it. The proxy server is necessary because Unsplash API requires a client ID when fetching data from it and Unsplash requires the developer to keep it secret.

Self host proxy

If you want to host the proxy server by yourself, please refer to the proxy repo. After setup the proxy server, you can set the proxy server address on the plugin's settings tab.

Frontmatter value format

You can set a customized value format for inserting in frontmatter. The default format will be "{image-url}".

# if the key is "image" and the value format is "{image-url}", it will be
---
image: "https://some-random-image-url.com"
---

# if the key is "banner" and the value format is "![[{image-url}]], it will be
---
banner: "![[https://some-random-image-url.com]]"
---

Development

Clone the repository, run npm install to install the dependencies, and run npm run dev to compile the plugin and watch file changes.

See https://github.com/obsidianmd/obsidian-api for Obsidian's API documentation.

Issues and PRs welcome.

Thanks

  • @javiavid
  • @vovech
  • @engage-results
  • @Bluemoondragon07
  • @mxro
  • @Explosion-Scratch

License

This plugin's code and documentation is released under the MIT License.

75%
HealthGood
ReviewCaution
About
Search and insert images from Unsplash, Pixabay, and Pexels directly into notes. Download images into your resource folder or insert remote URLs, choose image quality, size and orientation, and add images into frontmatter with a custom key/value.
ImagesImportAttachments
Details
Current version
0.8.4
Last updated
8 months ago
Created
4 years ago
Updates
26 releases
Downloads
18k
Compatible with
Obsidian 0.15.0+
License
MIT
Report bugRequest featureReport plugin
Author
cloudy9101cloudy9101
github.com/cloudy9101
GitHubcloudy9101
  1. Community
  2. Plugins
  3. Images
  4. Image Inserter

Related plugins

Local images plus

A reincarnation of Local Images to download images in Markdown notes to local storage.

Unofficial Supernote by Ratta Integration

View Supernote notes, generate markdown from note and capture screen mirror.

Paste image rename

Rename image after pasting, support name pattern and auto renaming.

Image auto upload

Upload images from your clipboard by PicGo.

Image Context Menus

Image context menus (mostly on right click): Copy to clipboard, Open in default app, Show in system explorer, Reveal file in navigation, Open in new tab.

Epub Importer

Import EPUB files as Markdown.

Imgur

Upload images from your clipboard to imgur.com and embeds uploaded image to your note.

Media DB

Query multiple APIs for movies, series, anime, games, music releases and wiki articles, and import them into your vault.

Pixel Perfect Image

Pixel perfect 100% image resizing, copy to clipboard, show image in Finder/Explorer, edit image in external editor, and much more.

Google Photos

Google Photos integration.