logseq-web-parser icon indicating copy to clipboard operation
logseq-web-parser copied to clipboard

is it possible to grab images?

Open mkosma opened this issue 3 years ago • 5 comments

Thanks for another great plugin! This is a lot easier to use than tools like MarkDownload.

How complex would it be to download images to assets and link them?

mkosma avatar Jun 22 '22 05:06 mkosma

It should be grabbed by default and link to the source webpage. Do you mean like convert the images to work locally?

sawhney17 avatar Jul 17 '22 13:07 sawhney17

It may be a good idea to provide an option to grab images from the web to the local assets folder. Because the links of images sometimes may break after months or years.

pyjserv avatar Jul 27 '22 09:07 pyjserv

Pretty difficult. It's impossible to o access the local file system via a plug-in. It'll have to be using the filesystem API but that would mean that the assets will not be synced and will be static not relative links. On 22 Jun 2022 at 9:42 AM +0400, Monty Kosma @.***>, wrote:

Thanks for another great plugin! This is a lot easier to use than tools like MarkDownload. How complex would it be to download images to assets and link them? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

sawhney17 avatar Oct 11 '22 07:10 sawhney17

I now understand. Thanks for your reply.

Aryan Sawhney @.***> 於 2022年10月11日 週二 下午3:24寫道:

Pretty difficult. It's impossible to o access the local file system via a plug-in. It'll have to be using the filesystem API but that would mean that the assets will not be synced and will be static not relative links. On 22 Jun 2022 at 9:42 AM +0400, Monty Kosma @.***>, wrote:

Thanks for another great plugin! This is a lot easier to use than tools like MarkDownload. How complex would it be to download images to assets and link them? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/sawhney17/logseq-web-parser/issues/7#issuecomment-1274208085, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXHA3AFBBTNJE7XIQ454TYDWCUI3RANCNFSM5ZO466NA . You are receiving this because you commented.Message ID: @.***>

-- Sincerely, Yi-Chen

pyjserv avatar Oct 14 '22 06:10 pyjserv

There's a plugin called logseq-link-to-local that will convert non-local assets to local assets. Calling the plugin converts all non-local assets within a block to local assets.

shotcollin avatar May 05 '24 22:05 shotcollin