(Proof of concept)
Linking of two different images in the current namespace (that means: namespace relative)
#@li2i_HTML~sao_small.jpg,sao.jpg~@#
li2i_HTML | <a href="/lib/exe/fetch.php?media=#@NS@#:%2" class="media" title="#@NS@#:%2"><img src="/lib/exe/fetch.php?media=#@NS@#:%1" class="mediacenter" title="%1" alt="%1"></a> |
The name of the makro li2i
stands for “Link Image To Image”. The appendix _HTML
is a requirement of the plugin for generating HTML code.
The Textinsert plugin: plugin:textinsert
Backlinks: https://forum.dokuwiki.org/post/63065 – https://forum.dokuwiki.org/post/63066 – https://forum.dokuwiki.org/post/65677 – https://forum.dokuwiki.org/post/66586
Furthermore: namespaces