(moved from SupportForum)

Samat: I'm wanting to use a word to link to an image. The obvious syntax for this, [this is a picture|url to some picture] does not work; it inserts the image inline. Pasting the image's URL straight into the page links to the image fine, and ErfurtWiki's caching mechanism catches it even (exactly what I want), but then I have a long ugly URL in the middle of my Wiki. Any suggestions?

milky: Your domain is a joke? I hope so ;-)

If you want a simple link with the destination being an image file, you must add some special characters at the filename that prevent that ewiki actually discovers it as image. Typically appending a "#" at the end of the image file name does the trick. Eventually you could add something else, or if possible leave out the extension (if your server supports MultiViews).

Samat: Yes. my domain is an inside joke of sorts.

Are there any characters that will be ignored by ewiki? Appending a # to the end of the filename (i.e. [blah|http://example.com/foo.png#]) did not appear to do anything, the image was still displayed inline. Any other characters I can think of change the URL and link becomes invalid. The link is to an off-site image (too large to put inline and is inconvenient to navigate to otherwise) so I am not seeing how I could use MultiViews.

milky: Shudder - it doesn't work! But then this is a bug, and will get reenabled (I upload a fresh CVS version tomorrow). Also the url: prefix doesn't help here, and I discovered some other RenderingBugs as well. Be prepared for an upgrade ;)

milky: It's fixed now, simply get the latest CVS tarball or the newly added R1.01e1 bugfix release.

Samat: Thanks! I went ahead and took the liberty to add a tidbit on creating links to images to the "HyperLinks" section of WikiMarkup.

bottom corner