[ewiki] Re: Fwd: Linking using an Image

  • From: Mario Salzer <mario@xxxxxxxxxxxxx>
  • To: maol@xxxxxxxxxx, ewiki@xxxxxxxxxxxxx
  • Date: Tue, 15 Jun 2004 00:52:11 +0200

> Hi everyone,
>
> I'd like to create a link with an image instead of text, like so:
>
> [[  http://maol.ch/images/div/img/symbolisch/freikarte_tn.jpg]|
> http://maol.ch/images/div/symbolisch/freikarte]
>
> I expected that code to be compiled into the following piece of HTML, but it
> didn't work...
>
> <a href="http://maol.ch/images/div/symbolisch/freikarte";><img
> src="http://maol.ch/images/div/img/symbolisch/freikarte_tn.jpg";
> align="right"></a>
>
> Did I do something wrong, or did I just expect too much from ewiki?
>
> Markus.

Too much expected from ewiki.  :)

This is simply not meant to be in the WikiMarkup, because Wiki is the
stressed lightweight alternative to HTML. There are other engines where
you can more freely intermix and pack one markup with another (lists
in tables with TWiki), but ewiki just isn't there. [would make it slow
like PhpWiki if we did]

But whatever, the image-link is a feature already requested earlier;
currently it is however a you-must-make-it-yourself-work thingy. It
is hidden inside "fragments/patches/" in "clickableimages". Currently
not listed in any README file.
However we could make it a configureable-core-feature somewhen, as
there is obviously so much interest in it.

The markup for image-links then was:
- [LinkDest "http://images.org/1.png";]
- or [http://images.org/1.png | http://link.dest.com/]
despite what the patch comment says, this should work reliable.

mario

Other related posts:

  • » [ewiki] Re: Fwd: Linking using an Image