← Back to team overview

zim-wiki team mailing list archive

How to link icons within a zim book?

 

Hi.

What is the best way to refer / link to icons within a zim book?
0.60 .. 0.65

Assume icons to reside in a single notebook folder.
You can link to such icons the usual way, copy/paste
from file browser etc.

The result is something like:
   {{../../ZimIcons/led-blue.gif}}

But there is a bug reported that relative links to attachments
are not updated on a page move to some different hierarchy level.

   https://bugs.launchpad.net/zim/+bug/1498635


Another option that works is to set
    document_root=external-to-notebook
and sddress icons with absolute links:

   {{/ZimIcons/led-blue.gif}}

But then indexing becomes slow due to other trees with
huge number of files unrelated to the current notebook
are examined also (reported by a work mate).

Is there any suggestion on this?

Thanks,

    Andreas


Follow ups