Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: deleting the image link #44

Open
jonasgantner opened this issue Sep 3, 2024 · 3 comments
Open

Feature request: deleting the image link #44

jonasgantner opened this issue Sep 3, 2024 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@jonasgantner
Copy link

Hi, I would love to have a quick option to remove images from my notes. An option to remove the embedded image with a context menu item would be amazing.

@jonasgantner jonasgantner changed the title Feature request: context menu item to delete the image link Feature request: deleting the image link Sep 3, 2024
@NomarCub
Copy link
Owner

NomarCub commented Sep 3, 2024

You mean removing the local image file in the vault, right?
So after deletion, the embed says "... is not created yet"? Or remove the embed also?

@jonasgantner
Copy link
Author

Thank you for the quick reply. My main use case is to remove the embed, basically clearing the line of the image. A context menu item called "remove image" would be great.

The file itself could remain in my vault, I use the "clear unused images" plugin for that.

@NomarCub NomarCub added enhancement New feature or request help wanted Extra attention is needed labels Sep 4, 2024
@hmnijp
Copy link

hmnijp commented Oct 4, 2024

+1
I came up with a request for the same feature, but saw that it already existed.

You mean removing the local image file in the vault, right?
So after deletion, the embed says "... is not created yet"? Or remove the embed also?

Context menu command - Delete Image from Obsidian Vault. (Move file to .trash and delete links (in current file)).
We could have a customization option - move to .trash or delete current link only.
Or two different commands in the context menu:
delete link
delete file

This feature is not available in Obsidian. There is a plugin mentioned above that scans the repository for unused images, but nowhere is there a function to delete a single image.
Currently, to perform these actions, we have to manually find them in the system file manager and delete them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants