Extension:ImageLink

Purpose
Provides a clickable image link using an image (either stored in the Image namespace or accessible through an interwiki prefix) and an article title (which may or may not existin the database).

The extension also supports the link-less mode thereby enabling a one-stop solution for both link and link-less requirements.

Furthermore, the extension also supports events but only on edit protected pages.

Lastly, the extension provides the parser function #iconlink which provides a clickable URL with the site's favicon.ico as image.

Usage Note
Please use the #img parser function instead of the older #imagelink one.

Local Image


See W3Schools on IMG tag for more details.

Link-Less option
If no page name is given, then no anchor (i.e. HTML  element) will be generated.

Default Image
When the parameter image points to a non-existing image page, then default parameter (if specified) is used as image page. Note that for interwiki link, this option is not supported.

Event Attributes
Event attributes supported: onchange, onsubmit, onreset, onselect, onsubmit, onreset, onselect, onblur, onfocus, onkeydown, onkeyup, onkeypress, onclick, ondblclick, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup.

Dependency

 * StubManager extension

Optional Dependency
The PEAR package Validate can be installed: the extension performs additional sanity check for site parameter.

Sites using this extension

 * author's web site