"Liz Kim"
Is it possible to have images as links?? HOW??
THANKS!
* If you want to show the image use: [[Image:imagename]]
* If you want to link to the image page use [[:Image:imagename]]
* If you want to link to the file use [[Media:imagename]]
* If you want to link to the file from outside the wiki use
http://XX.wikipedia.org/wiki/Special:Filepath/imagename
If you wanted to read the fine manual go to
http://meta.wikimedia.org/wiki/Help:Images
And if you want to have image linking to other pages, you can either:
* Install the imagemap extension (if you want areas to be clickable). -
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/ImageMap/ (that'll give
internal links, but not external links
currently).
* There's this extension:
http://www.dandwiki.com/w/extensions/buttonLink.php.txt ...
although you might perhaps want to fix the XSS
that allows this attack to work:
<buttonLink>"><script>alert('All_your_base_are_belong_to_me!');</script><span
id=",http://url/to/button</buttonLink>
* There's the LinkedImage extension:
http://meta.wikimedia.org/wiki/LinkedImage (I
think it'll do internal links, but not external
links).
* If you have to have it now no matter what, and none of the above are suitable, you can
apply this patch:
http://files.nickj.org/MediaWiki/image-linking-diff.txt - however the main problem with
this is that currently it will stuff up on
nested images ( example:
http://theplaypit.nickj.org/wiki/index.php?title=Main_Page#Problem_with_nes…
).
The solution to this is probably to recursively call the parser on just the caption,
rather than everything after the "[[image:xxx|"
bit, as currently happens. It'll do internal links, external links, and no links, but
it ain't production-ready yet, and I haven't
made a systematic attempt to try and break it yet either.
So, long answer short, as far as I'm aware there is no ideal solution to this yet. In
the interim, probably pick the one that seems
most appropriate for your needs.
All the best,
Nick.