Extension:HttpImage

Purpose
Provides a clickable image link using an image (accessible through an http:// link) and an article title (which may or may not exist in the database).

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

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

This work is derivated from the Extension:ImageLink version 1.7.1

Usage Note
Please use the #httpimg parser function instead of the older #httpimage one.

Usage


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, then default parameter (if specified) is used as image page.

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

Examples


Remarks : As the source image is an external image, whith no metadata stored in a wiki page, we can't specifie image size by using percent value.

Dependency

 * StubManager extension

History
See Extension:ImageLink version 1.7.1 history

Sites using this extension

 * author's web site