Clickpic/doc
From Joomla! Documentation
< Template:Clickpic
This is a documentation subpage for Template:Clickpic.
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:Clickpic.
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:Clickpic.
This templates allows images to be used as links pointing to a desired page. i.e. a navigational image.
Functions/Features[edit]
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[edit]
{{clickpic|TITLE OF TARGET PAGE|URL OF IMAGE FILE}}
Parameters[edit]
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[edit]
This only works if support for embedding external images is allowed. (internally held images can be referenced this way too).