Hi,
I'm trying to make a link out of an embedded image. In HTML terms, an <a/> tag wrapped around an <img/> tag.
I tried the following syntax, per the docshttp://meta.wikimedia.org/wiki/Help:Images_and_other_uploaded_files#Link:
[[Image:Pic.jpg|link=http://google.com/]]
But the link assigned to the image is always the image description page on the wiki; not the specified link (google.com).
I also tried the direct linking method:
[http://linktopage http://linktoImage]
But our wiki engine ignore the syntax.
Is there another way to make a link out of an image? Also, are there any wiki configuration settings that an admin might need to tweak to make something like this work?
Thanks, Tim
On Thu, Nov 13, 2008 at 6:06 PM, Tim Statler tstatler@adobe.com wrote:
Hi,
I'm trying to make a link out of an embedded image. In HTML terms, an <a/> tag wrapped around an <img/> tag.
I tried the following syntax, per the docs< http://meta.wikimedia.org/wiki/Help:Images_and_other_uploaded_files#Link%3E:
[[Image:Pic.jpg|link=http://google.com/]]
But the link assigned to the image is always the image description page on the wiki; not the specified link (google.com).
I also tried the direct linking method:
[http://linktopage http://linktoImage]
But our wiki engine ignore the syntax.
Is there another way to make a link out of an image? Also, are there any wiki configuration settings that an admin might need to tweak to make something like this work?
Thanks, Tim
That syntax was only recently added. If you can't wait for 1.14 to be released, you'll have to run the trunk version < http://www.mediawiki.org/wiki/Download_from_SVN%3E or install the ImageMap extension http://www.mediawiki.org/wiki/Extension:ImageMap.
HI Tim,
There isn't a core MediaWiki way to do this, but take a look at the Click extension. I've installed it and works well.
http://www.mediawiki.org/wiki/Extension:Click
-Courtney
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Tim Statler Sent: Thursday, November 13, 2008 6:06 PM To: mediawiki-l@lists.wikimedia.org Subject: [Mediawiki-l] Image linking
Hi,
I'm trying to make a link out of an embedded image. In HTML terms, an <a/> tag wrapped around an <img/> tag.
I tried the following syntax, per the docshttp://meta.wikimedia.org/wiki/Help:Images_and_other_uploaded_files#Link:
[[Image:Pic.jpg|link=http://google.com/]]
But the link assigned to the image is always the image description page on the wiki; not the specified link (google.com).
I also tried the direct linking method:
[http://linktopage http://linktoImage]
But our wiki engine ignore the syntax.
Is there another way to make a link out of an image? Also, are there any wiki configuration settings that an admin might need to tweak to make something like this work?
Thanks, Tim _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org