Skip to content

Image Context Menus - Obsidian.md image context menus: copy, open in default app, show in system explorer, reveal in navigation context menu. Also Open PDF externally context menu.

License

NomarCub/obsidian-copy-url-in-preview

Repository files navigation

Image Context Menus

This plugin provides the following context menus for images in Obsidian:

  • Copy Image
  • Open image in default app
  • Show in system explorer
  • Reveal file in navigation

It also has an Open PDF externally context menu for PDFs.

This plugin used to be called "Copy Image and URL context menu". It had link URL copying functionality (see 1.5.2 and prior), but that was removed when it was included in Obsidian 1.5.

See these other plugins for related functionality:

Copying images:

copy_image_v2.mp4

Opening PDFs externally:

Opening PDFs externally on desktop

All features work on mobile, but were only tested on Android. Mobile uses the native image sharing functionality instead of the clipboard, and it downloads online images temporarily so they can be shared.

Installation

You can install the plugin via the Community Plugins tab within the Obsidian app.
Here's the plugin in Obsidian's Community Plugins website.
You can install the plugin manually by copying a release to your .obsidian/plugins/copy-url-in-preview folder.

Development

This plugin follows the structure of the Obsidian Sample Plugin, see further details there.
Contributions are welcome.

Credits

Original plugin by NomarCub.
If you like this plugin you can sponsor me here on GitHub: Sponsor NomarCub, on Ko-fi here: Buy Me a Coffee at ko-fi.com, or on PayPal here: Paypal.

Copying images developed by luckman212.
Android image sharing developed by mnaoumov.
Open PDF externally feature developed by mnaoumov.

Thank you to the makers of the Tag Wrangler plugin, as it was a great starting point for working with context menus in Obsidian.

About

Image Context Menus - Obsidian.md image context menus: copy, open in default app, show in system explorer, reveal in navigation context menu. Also Open PDF externally context menu.

Topics

Resources

License

Stars

Watchers

Forks