Assuming I want to have an org buffer in which I can preview images from url which I don't want to store on my hard drive - is there a possibility to use a solution similar to org links and display images functions?
I know I can use e.g.
but it opens an image in another buffer, which I want to avoid.
As a temporary solution I'm using a shell command (which I can put into an "clickable" elisp link in an org buffer):
(async-shell-command "wget -O /tmp/image.jpg https://url/some-name.jpg")
but to make it work I have to put another org link which will use downloaded image path (and then call org-redisplay-inline-images function):
I am looking for a oneliner solution in which I just paste the link to the image and then toggle org display images. Is there a generic Emacs way to do that?