Nick Dokos <ndo...@gmail.com> writes:

> I do C-c C-x C-v on a file like this:
>
> #+LINK: images/
>
> * foo
>
> #+BEGIN_HTML
> [[file:foo.svg]]
> #+END_HTML
>
> * Front page
>
> [[file:images/screenshot1.png]] 
>
> * A sample of results
>
> fserver.png is in the images/ directory.
>
> [[file:fserver.png]]
>
>
> where foo.svg is in the same directory as the org file and
> screenshot1.png and fserver.png are in the images/ subdirectory.
> Exporting the file works fine, but when I toggle inline images, only
> foo.svg and images/screenshot1.png show up: fserver.png does not. My
> assumption is that org-display-inline-images does not obey the #+LINK
> directive. Shouldn't it?

The example is wrong, but the rest stands. Here is a correct example:

--8<---------------cut here---------------start------------->8---
#+LINK: foo file:images/

* A sample of results

  [[foo:fserver.png]]

* Front page

  [[file:images/screenshot1.png]] 
--8<---------------cut here---------------end--------------->8---

Exporting shows both images, but toggling inline images only shows the
second.

-- 
Nick


Reply via email to