Skip to content

heyzoeys/obsidian-image-auto-upload-plugin

 
 

Repository files navigation

中文文档

Obsidian Image Auto Upload Plugin

This plugin can help you to auto upload image by picgo or PicGo-Core.

You should restart obsidian after updating the plugin.

Start

  1. install the picgo and config it
  2. open the tool and open the setting "设置 server"
  3. install the plugin in obsidian
  4. open the plugin setting, and set the "picGo server" http://127.0.0.1:{{port in picgo}}/upload(example:http://127.0.0.1:36677/upload)
  5. try paste image

Features

Upload when paste image

When you paste image to obsidian, this plugin will auto upload you image.

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

support ".png", ".jpg", ".jpeg", ".bmp", ".gif", ".svg", ".tiff"

Because of the bug in PicGo 2.3.0-beta7, you can not use this feature. you can install other PicGo version.

---
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. Now support standard md link, wiki link and absolute,relative.

Support drag-and-drop

Support picgo-core

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

TODO

  • upload all local images file by command
  • support yaml to config if upload image
  • support picgo-core
  • support upload image from system copy selected image
  • support network image

Thanks

obsidian-imgur-plugin 20211112170145

About

auto upload image with picgo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.3%
  • JavaScript 1.7%