"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
"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_nest... ). 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.
On Thu, Nov 02, 2006 at 10:53:37AM -0800, Liz Kim wrote:
Is it possible to have images as links?? HOW??
Look around for a template called "Click"; we use it on the front page of wiki.mythtv.org, and it works nicely.
Cheers, -- jra
On 11/3/06, Jay R. Ashworth jra@baylink.com wrote:
On Thu, Nov 02, 2006 at 10:53:37AM -0800, Liz Kim wrote:
Is it possible to have images as links?? HOW??
Look around for a template called "Click"; we use it on the front page of wiki.mythtv.org, and it works nicely.
It's not recommended since it won't work in all browsers, but you can find it at http://en.wikipedia.org/wiki/Template:Click
http://meta.wikimedia.org/wiki/Template:Click has an example of using this with an image.
Angela.
On Fri, Nov 03, 2006 at 03:01:08PM +1100, Angela wrote:
On 11/3/06, Jay R. Ashworth jra@baylink.com wrote:
On Thu, Nov 02, 2006 at 10:53:37AM -0800, Liz Kim wrote:
Is it possible to have images as links?? HOW??
Look around for a template called "Click"; we use it on the front page of wiki.mythtv.org, and it works nicely.
It's not recommended since it won't work in all browsers, but you can find it at http://en.wikipedia.org/wiki/Template:Click
You have any pointers on that, Angela? I don't think we knew that...
(And, on an unrelated topic, what happened to bestpractices.wikia? It seems to have evaporated, and I didn't hear a thing...)
Cheers, -- jra
It's not recommended since it won't work in all browsers, but you can find it at http://en.wikipedia.org/wiki/Template:Click
You have any pointers on that, Angela? I don't think we knew that...
It says it on the template - see http://en.wikipedia.org/wiki/Template:Click There's also more discussion of the problem on http://en.wikipedia.org/wiki/Template_talk:Click
(And, on an unrelated topic, what happened to bestpractices.wikia? It seems to have evaporated, and I didn't hear a thing...)
We should discuss that off-list, but it's still there - http://bestpractices.wikia.com/
Angela.
On 11/3/06, Angela beesley@gmail.com wrote:
It's not recommended since it won't work in all browsers, but you can find it at http://en.wikipedia.org/wiki/Template:Click
http://meta.wikimedia.org/wiki/Template:Click has an example of using this with an image.
At one stage it looked like this was going to actually get implemented properly, then it got shot down in a war over attributing people's copyright correctly.
:/
Steve
Steve Bennett wrote:
On 11/3/06, Angela beesley@gmail.com wrote:
It's not recommended since it won't work in all browsers, but you can find it at http://en.wikipedia.org/wiki/Template:Click
http://meta.wikimedia.org/wiki/Template:Click has an example of using this with an image.
At one stage it looked like this was going to actually get implemented properly, then it got shot down in a war over attributing people's copyright correctly.
Oh, and how do you do the thing where the thumbnail picture is different to the picture itself?
On 09/11/06, Alphax (Wikipedia email) alphasigmax@gmail.com wrote:
Oh, and how do you do the thing where the thumbnail picture is different to the picture itself?
That's been implemented, although it seems to be poorly documented (ie, I can't find any page on meta describing it -- except for this note http://meta.wikimedia.org/wiki/Thumbnails#Manually_generated_thumbnails ).
regards, Brianna
wikitech-l@lists.wikimedia.org