Home

Awesome

中文文档

Obsidian Image Auto Upload Plugin

This is a tool that supports uploading images to image beds using PicGo, PicList, and PicGo-Core. Remember to restart Obsidian after updating the plugin.

Not tested on Mac

Start

  1. Install the PicGo tool and configure it, refer to the official website
  2. Enable PicGo's Server service and remember the port number
  3. Install the plugin
  4. Open the plugin settings and set it to http://127.0.0.1:{{port set in PicGo}}/upload (e.g., http://127.0.0.1:36677/upload)
  5. Try to see if the upload is successful

Set picbed and configName

If you are using PicList (version >= 2.5.3), you can set the picbed and configName through URL parameters. Example: http://127.0.0.1:36677/upload?picbed=smms&configName=piclist This will upload the image to the smms picbed and use the piclist configName. Using this feature, you can upload images to different picbeds in different Obsidian vaults.

Features

Upload when paste image

When you paste an image to Obsidian, this plugin will automatically upload your image.

You can set image-auto-upload: false in frontmatter to control one file.

Supports ".png", ".jpg", ".jpeg", ".bmp", ".gif", ".svg", ".tiff", ".webp", ".avif"

Due to the bug in PicGo 2.3.0-beta7, you cannot use this feature. Please install another version of PicGo.

---
image-auto-upload: true
---

Upload all local images file by command

press ctrl+P and input upload all images,enter, then will auto upload all local images

download all internet to local

press ctrl+P and input download all images,enter, then will auto download all internet images to loacl, only test in win10

Upload image by contextMenu

Now you can upload image by contextMenu in edit mode.

Support drag-and-drop

Only work for picgo or picList app.

server mode

You can deploy PicList or PicList-Core in your server and upload to it.

Support PicList 2.6.3 later or PicList-Core1.3.0 later

You can not upload network in this mode. If you upload fail when you paste img, you can alse try to enable the mode.

Support picgo-core

You can install picgo-core with npm. Reference to doc

TODO

Thanks

obsidian-imgur-plugin