Help:Navigational image
In projects that allow embedding images in external link style (in which case you see three images in the lefthand side of the table below), the image can also be external, and the target can be any URL; there are the following possibilities:
What it looks like | What you type |
---|---|
an external image linking to an external page, image, etc.: |
[http://www.google.com http://www.google.com/images/logo.gif] |
an external image linking to an internal page: |
[[Help:Redirect|http://www.google.com/images/logo.gif]] |
an external image linking to an internal page with external link style, with : |
[{{SERVER}}{{localurl:Help:Redirect}} http://www.google.com/images/logo.gif] |
an internal image linking to an internal page with external link style: |
[{{SERVER}}{{localurl:Help:Redirect}} http:../upload/b/bc/Wiki.png] [[:File:wiki.png]] |
If you don't want the small icon indicating it is an external link to appear, because it looks messy and it is actually an internal link, you can surround the image link with code to supress it, and now you have the ultimate internal linking with images - hooray! Although this will be most useful to people running their own corporate or independent wikis If you are looking at this on Meta, you will not see the effect here as it doesn't allow embedding of 'external' images... |
<div class="plainlinks">[{{SERVER}}{{localurl:Help:Redirect}} http:../upload/b/bc/Wiki.png]</div> |
Thumbnail
[edit]One application is linking a small version of an image to a large one. Example where both are external:
[http://pennine.demon.co.uk/photos/seakayak/xga/Lunga-P7-100-3086.jpg http://pennine.demon.co.uk/photos/seakayak/small/Lunga-P7-100-3086.jpg]
gives
http://pennine.demon.co.uk/photos/seakayak/small/Lunga-P7-100-3086.jpg
The alternate text is the name of the image, after the last slash in the URL. If you have control over the image, give it a meaningful name; you could even include a text like "click to enlarge" in the name.
Wikinews-specific content and links to other help pages
[edit]Help contents Reading:
Go |
Search |
URL |
Namespace |
Page name |
Section |
Link |
Backlinks |
Piped link |
Interwiki link |
Redirect |
Variable |
Category
|