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

MarkDownload can't save images directly to an Obsidian vault via "Copy selection as markdown" #315

Open
poddex opened this issue Apr 5, 2024 · 6 comments

Comments

@poddex
Copy link

poddex commented Apr 5, 2024

Hello. When I select mixed web-content "text+images" and copy it via "Copy selection as markdown" and then paste it to Obsidian (via "paste" from context menu), it doesn't save images directly to Obsidian vault, only as web-links, why?
How can I do that in an easy way - paste all mixed web-content directly to a vault?
Even when I use "send selection to Obsidian", it doesn’t copy images directly to a vault, only as web-links like this:
(........https://media.gcflearnfree.org/content/55e076ab7dd48174331f528b_01_17_2014/start_what_speed.jpg)
It's a bug? Can I copy directly to a vault?

@aancw
Copy link

aancw commented Apr 26, 2024

It's intended behaviour. All content that you copy is encoded and then send the encoded data to obsidian advanced uri. So it's not possible to copy image and text at the same time. Only possible to save image as link.

@poddex
Copy link
Author

poddex commented May 16, 2024

It's intended behaviour. All content that you copy is encoded and then send the encoded data to obsidian advanced uri. So it's not possible to copy image and text at the same time. Only possible to save image as link.

Disappointed. Why MarkDownload can't use a sequence of copy-text and copy-image commands just like Chrome right-click on text->Copy and on Image->Copy?

There are many web-sites that are gone over time! And there is still offline access. And I lose all my images saved with Send to Markdown.

It is a pity that most are not interested in a quick copy tool, and everything has to be done by hand, and this takes a very long time.

@aancw
Copy link

aancw commented May 16, 2024

It's limitation from how Obsidian URI plugin works and how markdownload handle the mixed content for "send tab/selection to markdown".

@poddex
Copy link
Author

poddex commented May 16, 2024

I opened the thread about on Obsidian forum. It would be great to have a tool for saving web-pages whole locally in a vault in ONE click.

@cw-cdz
Copy link

cw-cdz commented Sep 8, 2024

@poddex You can pair the "Local Images Plus" Obsidian plugin with MarkDownload. First, leave MarkDownload set to keep the original URL for the image. Then, when you copy/paste the content into Obsidian, the Local Images Plus plugin will automatically download the images and update the links in your note.

@poddex
Copy link
Author

poddex commented Sep 8, 2024

@poddex You can pair the "Local Images Plus" Obsidian plugin with MarkDownload. First, leave MarkDownload set to keep the original URL for the image. Then, when you copy/paste the content into Obsidian, the Local Images Plus plugin will automatically download the images and update the links in your note.

@cw-cdz , Thank you SO MUCH! You made my day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants