Hi Ihor,

>>>> [[https://github.com/larsmagne/meme/raw/master/images/Grandma-Finds-The-Internet.jpg]]
>>>>
>>>> I expect that it may be related to TRAMP file paths like 
>>>> /https:/host/file.png (by default http is disabled in gvfs backend 
>>>> though), but not for regular URLs.
>>>>
>>>> dcdb47017 2020-02-01 11:50:08 +0100 Jack Kamm: Add inline remote image 
>>>> display
>>>
>>> Looks like we simply have no handler for https: links. Kathik, could you
>>> take a look?
>>
>> Sorry, I don't follow the question -- are we talking about adding a
>> :preview handler for org-links of type "https"?
>
> Yup.

Following up on this.  What should the default :preview handler for
https links do?  Check if it's an image (via regexp matching on the
extension), then download the image and show it?

If yes, 

1. Can you point me to any Org-specific function I can use to download
the image instead of url-copy-file?

2. Should it ask for confirmation for every link?  I expect this to get
annoying.  I know that Org has a mechanism for confirming access to a
remote resource, but I've never used it in code -- could you remind me
of what this is called?

Karthik

Reply via email to