Extension talk:ImageLink/LQT Archive 1

I wish this was described better.
 * Look at the 'See Also' section on the page. Jean-Lou Dupont 19:48, 4 May 2007 (UTC)


 * The See Also points to BlueCortex, where it was a Pareser Function. Here it is a php extension and has ZERO documentation. :( --98.199.66.118 16:16, 28 August 2007 (UTC)

quality (CLOSED)
if i use   and    for a 370px x 560px image, than is the quality with imagelink worse. -- a user 22:39, 4 August 2007 (UTC)
 * The extension does not modify the parameters; it just passes them to the HTML element. So, it is not the extension's fault. Jean-Lou Dupont 23:52, 4 August 2007 (UTC)
 * Is there a way to force the extension to scale down the image as usually done by MediaWiki? If I use thumb|200px MediaWiki creates a thumb-image so that the user doesn't have to download the whole image, but only the thumb. That doesn't work with the extension. Those small images cost less bandwidth & look nicer --217.233.218.140 18:13, 20 September 2007 (UTC)
 * No. Jean-Lou Dupont 19:14, 20 September 2007 (UTC)
 * Ok, thank you anyway :) -- same Person as previous IP 217.233.253.76 17:37, 21 September 2007 (UTC)

_imagelink_ tags left in final page (RESolved)
Maybe I'm doing something wrong, but I can't quite get this extension to work. I've grabbed both StubManager.php and this extension's files from SVN (r723); they're installed (MediaWiki 1.10.0) and show up properly in Special:Version, but the extension doesn't work. For example, the following


 * 

will lead to this in the output:


 * _imagelink_200708300_/imagelink_

Curiously, specifying a non-existant image will cause a &lt;pre&gt; to be rendered instead (not that that really matters).

So... um, help? c.c I have no idea what could be going wrong here or how I should go about fixing it. Thanks! -- Schneelocke 20:50, 30 August 2007 (UTC)
 * the second argument must be a valid wiki page e.g. Category:Extension. In the example you gave above, you specified a URI address; this will not work. Jean-Lou Dupont 22:48, 30 August 2007 (UTC)


 * Ah, yeah - I misunderstood the "distinguish between local and interwiki URI" part last night. Blame it on it being too late in my timezone. ^_~ Nevertheless, that being said, the same thing happens with a local page, too; and FWIW, http://www.example.com could be the name of a local page, anyway (e.g. ). -- Schneelocke 08:08, 31 August 2007 (UTC)

I have the same problem. First i updated to Stubmanager 1.0.2 and ImageLink extension 1.0 revision 545 but i get
 * _imagelink_200708300_/imagelink_. Thanks for your hints.
 * Could you upgrade to the latest versions of both, please, before we proceed further. Thanks. Jean-Lou Dupont 19:33, 12 October 2007 (UTC)
 * Thanks for you help Jean-Lou, but i have already the lastest version from yesterday. This my first try ;-).

Problem with MediaWiki 1.10.2 (RESOLVED)
Firstly, thanks for the extension. It's hard to use MW as a CMS without being able to link images in this way. Unfortunately I haven't been able to get it to work with my setup. The wikitext i'm using is:
 * MediaWiki 1.10.2.
 * ImageLink.php 642 2007-08-10 15:35:54Z jeanlou.dupont
 * StubManager.php 730 2007-09-07 19:39:06Z JeanLou.Dupont

But the page outputs this code in plain text with no image generated:

Special:Version tells me that the hooks are installed. --Rob 21:59, 2 October 2007 (UTC)
 * Could you try fetching the latest version of both extensions from the SVN before we proceed further? Jean-Lou Dupont 22:34, 2 October 2007 (UTC)
 * The latest svn fixed it. Thanks for your support. --Rob 00:25, 3 October 2007 (UTC)

SVG support
Looks like imagelink does not support svg images at this stage? --Rob 00:31, 8 October 2007 (UTC)
 * If you are referring to the capability to define an SVG image 'on-the-fly' (i.e. ellipse, rect etc. elements), then I am not planning to do so. Sorry. Jean-Lou Dupont 11:22, 8 October 2007 (UTC)

Getting an error (CLOSED)
Getting this at the top of every page: Notice: Undefined variable: aClass in C:\www\webapps\mediawiki\extensions\ImageLink\ImageLink.body.php on line 283
 * You downloaded the trunk version not an actual tag. I am in the process of adding some features in the trunk and a release is pending. Please use PEAR, that's all the best bet. Jean-Lou Dupont 12:36, 2 April 2008 (UTC)

Using Mediawiki 1.12.0 SubManager 1.2.0 ImageLink downloaded from SVN on April 2nd 2008


 * You should use the newer parser function too. Jean-Lou Dupont 12:38, 2 April 2008 (UTC)

Do you have to specify image dimensions?
 * ?Jean-Lou Dupont 12:38, 2 April 2008 (UTC)


 * All sorted now. Thanks for your fast response Jean-Lou.
 * Mitchelln 9:38, 3 April 2008 (UTC)

Getting no alternate title text (CLOSED)
I have the following:

I get the clickable image, but the alternate title text is not displayed. Any ideas? Thanks.


 * Mitchelln11:31, 3 April 2008 (UTC)
 * alt=xyz Jean-Lou Dupont 10:30, 3 April 2008 (UTC)


 * Hmm, still nothing. Perhaps I am expecting something it does not do. I want the image (in my case an icon) and
 * then text next to it. For example:
 * to give me a left arrow icon and the text "Previous Page" next to it.
 * Mitchelln11:51, 3 April 2008 (UTC)
 * Then you are definitely correct: you are looking for functionality that ImageLink does not provide... but standard wikitext does ;-) Just slap your text next to the #img. Jean-Lou Dupont 12:41, 3 April 2008 (UTC)
 * Yeah, but then clicking on the icon image takes you to the icon's Image: page and the text link takes you to the page you want. I'm merely using the icon image to make the page look cooler. Anyway, thanks for clarifying and your other help Jean-Lou.
 * Mitchelln 11:21, 4 April 2008 (UTC)
 * The new version addresses this issue with the content parameter. Jean-Lou Dupont 10:59, 4 April 2008 (UTC)
 * Wow. How helpful. Thanks very much Jean-Lou. That is fantastic. One tiny tweak, I suggest adding a space character on line 291 - $anchor_close = " $content"; Just looks a bit nicer with the text spaced slightly away from the image.
 * Mitchelln 13:03, 4 April 2008 (UTC)
 * Thanks! Added in trunk, will get released at some point ;-) Jean-Lou Dupont 12:53, 4 April 2008 (UTC)
 * Thanks! Added in trunk, will get released at some point ;-) Jean-Lou Dupont 12:53, 4 April 2008 (UTC)