Actions

Template

Clickpic

From Joomla! Documentation

Revision as of 12:47, 9 May 2008 by CirTap (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{{2}}}

[view] [edit] [history]

Template-info.pngTemplate documentation

Contents


This templates allows images to be used as links pointing to a desired page. i.e. a navigational image.

Functions/Features

For information such as:

  • How to get the full path of the image which this template needs
  • What to do if you have a whitespace problem in Internet Explorer or Opera

then please see further details at wikimedia.org

Usage

{{clickpic|TITLE OF TARGET PAGE|URL OF IMAGE FILE}}

Parameters

Parameter Name Parameter Description req./opt.
{{{1}}} title of target page Required.
{{{2}}} fullurl of image file Optional.

This is how you find the image url needed for the link:

  • Scale the image to the right size using the usual display method and specifying the width of the image in pixels, e.g.:
[[Image:abc123.jpg|150px]]
  • Preview or save the page so the image renders on-screen
  • Then right-click on it and select 'Properties'. Cut and paste the path from:
    • Internet Explorer: the 'Address' field in the dialog box
    • Firefox: the 'Location' field in the dialog box.

Known Issues

This only works if support for embedding external images is allowed. (internally held images can be referenced this way too).