Make an Image a Link

A How-To Recipe
January 2007
SQI Staff

Issue

Frequently a summary or key concept is presented in a graphic or image. The detailed discussion about the concept is on another page or a URL on a different site. Good user interface principle require the graphic to link to the extended material.

Solution

The ImageLink macro is provided to make a link that displays an image (can be given as either attachment or URL) and links to either an URL or a wiki page. Optionally the size of the image can be adjusted.

Syntax

[[ImageLink(image,target[,width=width[,height=height]][,alt=alttag])]]

Parameters

image: image attachment file name or the URL of an image
target: link target wiki page or URL (optional)

Keyword Parameters

width: rendered image width (optional)
height: rendered image heigth (optional)
alt: alt text

Example

[[ImageLink(IM_portal_h135.png,CIE/IncidentManagerFeatures)]]


Univ/CIE/KA/ImageAsLink (last edited 2015-03-06 18:11:26 by localhost)