Make an Image a Link A How-To Recipe January 2007
IssueFrequently 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.
SolutionThe 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])]]
Parametersimage: image attachment file name or the URL of an image target: link target wiki page or URL (optional)
Keyword Parameterswidth: rendered image width (optional) height: rendered image heigth (optional) alt: alt text
Example[[ImageLink(IM_portal_h135.png,CIE/IncidentManagerFeatures)]] |
