v0.2.0 — Upload image at cursor
New: upload image that's already in your note
Three ways to invoke:
-
Command palette —
PicFast: Upload image at cursor to PicFast. Only appears when the cursor sits inside a markdown / wikilink image reference that points at a local file. -
Right-click menu — the same command shows up in the editor context menu when the cursor is over an image link.
-
Existing paste / drop handlers (unchanged from v0.1.4).
Recognised link forms
— standard markdown![[local-path]]/![[path|300]]— Obsidian wikilink (size / alt suffixes stripped)http:///https:///data:URLs — skipped, the plugin tells you it's already remote
Path resolution:
- URL-decoded (
%20→ space etc.) - Strips leading
./and chains of../ - Falls back to trying
.png/.jpg/.jpeg/.gif/.webp/.svg/.bmp/.avifwhen the wikilink omitted the extension
Failure handling
Every failure path surfaces a Notice and leaves the markdown untouched:
- Already a remote URL → Notice "this image is already remote"
- Can't resolve path → Notice with the resolved path search list
- Can't read file (permission, vault race) → Notice
- Upload error → existing performUpload Notice
Replacement
Always  regardless of whether the original was a markdown link or wikilink. Obsidian renders both identically for remote URLs.
Install
Same path: overwrite the 3 files in .obsidian/plugins/picfast-image-uploader/. Settings are forward-compatible — no migration needed.