Image Context Menus

approved

by NomarCub

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.

98 stars67,056 downloadsUpdated 1mo agoMIT
View on GitHub

Image Context Menus

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

  • Copy to clipboard
  • Copy URL to clipboard
  • Open in default app
  • Show in system explorer
  • Reveal file in navigation
  • Open in new tab
    • also available through middle mouse button click
  • Rename

For online image embeds, only the "Copy to clipboard" option is available.
Context menus are also added to the canvas.
Most features work on mobile, but were only tested on Android.

Copying images:

Copying images video

See these other plugins for related functionality:

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.
It also used to have an Open PDF externally hover context menu for embedded PDFs, which was also removed when better Obsidian native functionality appeared (see 1.9.1).

Installation

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

This plugin on other sites

Obsidian Stats page
Obsidian Addict page
Obsidian Hub page

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.

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

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.