While we are at it, would it be possible to display an inline image when 
the image is in the contents part of the link?

The rationale is that something like:

[[file:book.pdf][file:cover.jpg]]

is exported to html as:

<a href="book.pdf"><img src="cover.jpg" alt="cover.jpg" /></a>

The result would be a clickable image in the Org buffer the same way it is in HTML.

Is there any drawback in doing this ?

Fabrice

2017-08-17 22:05 GMT+02:00 Fabrice Popineau <fabrice.popineau@gmail.com>:


2017-08-17 15:59 GMT+02:00 Nicolas Goaziou <mail@nicolasgoaziou.fr>:
Hello,

I simply extended the link search to all link abbrevs, discarding those
that do not ultimately match a file.

Does it solve your issue?

 
Yes thanks. Much lighter.
 
I like link abbreviations, because they allow to change the reference point where the files are stored (if needed some day)

Regards,

Fabrice