obsidianmd / obsidian-clipper

Highlight and capture the web in your favorite browser. The official Web Clipper extension for Obsidian.
https://obsidian.md/clipper
MIT License
1.1k stars 60 forks source link

Download pictures to local #37

Open jinsen711 opened 2 months ago

jinsen711 commented 2 months ago

Can the images in the web page be automatically downloaded when saving the web page? I am using the "Custom Attachment Location" plug-in to manage the image files in each markdown in obsidian.

kepano commented 2 months ago

Not yet, but there is a plugin called Local Images that can do this for you.

jinsen711 commented 2 months ago

Not yet, but there is a plugin called Local Images that can do this for you.

Thanks

marconoris commented 2 months ago

Can the images in the web page be automatically downloaded when saving the web page? I am using the "Custom Attachment Location" plug-in to manage the image files in each markdown in obsidian.

+1!

codey-badger commented 2 months ago

Not yet, but there is a plugin called Local Images that can do this for you.

Thanks

Hi, is it working automatically or you have to confirm each time?

LeCheenaX commented 2 months ago

+1! Great to have the option to determine if using local images or online images.

jinsen711 commented 2 months ago

Not yet, but there is a plugin called Local Images that can do this for you.

Thanks

Hi, is it working automatically or you have to confirm each time?

Custom Attachment Location plugin? It's automatic. Sorry I just saw it now.

Tback1 commented 1 month ago

Not yet, but there is a plugin called Local Images that can do this for you.

It not work everywherel. Because some image you could see on the brower which has full refrence even cookie from page, the CDN will not block the request. but when you capture it to the Obsidian ,it will not. So may be need get the image from the Brower's cache or download from Brower

emptizen commented 1 month ago

May I ask if there is any plan to make it a new feature?

kepano commented 1 month ago

Yes but it will require changes to Obsidian URI, so it will take some time.

guitarbug commented 3 weeks ago

Not yet, but there is a plugin called Local Images that can do this for you.

I have the plugin "Local Images Plus" installed, When I use Web Clipper to save the web page with pictures, the pictures are not download to local. but I use "MarkDownload - Markdown Web Clipper" to save the same page, the pictures are download to local.

myInstagramAlternative commented 6 days ago

I just tested base64-encoded images and Obsidian renders them.

Would it be possible to add this as an option? I'm not sure how difficult it is to extract images from the page, but inserting the image in base64 format into Obsidian should be pretty easy to implement.

![imagel](data:image/png;base64,encoded_image_string)

kepano commented 5 days ago

Storing the images as base64 is not a good solution. It will lead to Markdown files that are multiple megabytes which hinders the performance of Markdown parsing and will cause syncing issues.

Creveoolus commented 2 days ago

Not yet, but there is a plugin called Local Images that can do this for you.

So I just downloaded obsidian web clipper but I missing this function aswell. My problem is that Local Images plugin cant download pictures if the site requires authorization, but web clipper could.

Yes but it will require changes to Obsidian URI, so it will take some time.

Is there an ETA for it?

Thank you!

sourcecodemage commented 1 day ago

+1 for this feature. I just tested the plugin and , after appearance, attachment location was the second thing I checked. I download a lot of wiki pages with instructions and screenshots of what the app or screen output should look like mixed in with the instructions, so if the image link ever breaks , then I'll have a lot of blank areas in my note.

e.g.

5. Type this command. If the output doesn't look like the below screenshot, then return to previous step.

Otherwise I really like the plugin. I still need to figure out how to tell it which vault clippings should go into, but I only just installed it and have read zero documentation. The attachments concern sidetracked me from that!