Forum OpenACS Development: Xowiki image link with an <a>

Collapse
Posted by Dave Bauer on
Is there a way to genearte this in xowiki with xowiki links?

&lt;a href="some_url"&gt;&lt;img src="image_url"&gt;&lt;/a&gt;

Using [[image:filename|Title]] I don't see a way to make that link to another URL.

Of course once I upload an image to xowiki I can add the explicit html for the link if necessary.

If this doesn't exist would something like
[[image:filename|Title|optional_href]] make sense? I could probably code that.

Collapse
Posted by Gustaf Neumann on
It exists! Use [[image:lore.jpg|A Nice Picture|-href /www.wu-wien.ac.at]] ...
see http://alice.wu-wien.ac.at:8000/xowiki-doc/#file-link
Collapse
Posted by Dave Bauer on
Thanks!

Google still thinks this: is the best results for "xowiki documentation" http://media.wu-wien.ac.at/download/xowiki-doc/#file-link

You documentation link is obviously more up to date. Thank you!

Collapse
Posted by Gustaf Neumann on
The media link is for the "released, stable" version, the link to alice is more up to date and documents some of the newer stuff in the head version.
Collapse
Posted by Dave Bauer on
Ah ok. I might have to import that into my install then. Thanks again.