image preview does not work in tramp for org mode

207 Views Asked by At

Suppose I'm checking out a org file in a server server1,

(find-file "/ssh:server1:/path/to/org-file.org")

and the org file has a link to an image

file:myimage.png

and the file exists since I can open it with C-c C-o. However, when I try to display the image, it does not work.

I see no reason why this shouldn't work.

here is a screencast of the problem

1

There are 1 best solutions below

0
Lukas On BEST ANSWER

By default this feature is disabled.

To enable it checkout the variable org-display-remote-inline-image.

For example, I set it with:

  (setq org-display-remote-inline-images 'cache)