Difference between revisions of "Using Images as Hyperlinks"

From the Family Tree Forum Reference Library
m
(Text replacement - "www.familytreeforum.com/wiki/" to "reference.familytreeforum.com/")
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
[[Category:Help|Images]]
 
__NOEDITSECTION__
 
__NOEDITSECTION__
[[image:building3.jpg|center|frame|Page being edited by [[User:Caroline|Caroline]]]]
 
  
 
[[image:imhyptop.jpg]]
 
[[image:imhyptop.jpg]]
Line 18: Line 18:
  
 
<nowiki> {| width="100%" border="0" cellpadding="15" </nowiki><br>
 
<nowiki> {| width="100%" border="0" cellpadding="15" </nowiki><br>
<nowiki>|{{clickpic|Parish_Registers| http://www.familytreeforum.com/wiki/images/d/d6/Register_fr2.jpg}}</nowiki><br>
+
<nowiki>|{{clickpic|Parish_Registers| http://reference.familytreeforum.com/images/d/d6/Register_fr2.jpg}}</nowiki><br>
<nowiki>||{{clickpic| Certificate_tutorials| http://www.familytreeforum.com/wiki/images/c/ca/Certs_fr.jpg}}</nowiki><br>
+
<nowiki>||{{clickpic| Certificate_tutorials| http://reference.familytreeforum.com/images/c/ca/Certs_fr.jpg}}</nowiki><br>
<nowiki>||{{clickpic|World_Index_Page| http://www.familytreeforum.com/wiki/images/3/30/WIP2_fr2.jpg}}</nowiki><br>
+
<nowiki>||{{clickpic|World_Index_Page| http://reference.familytreeforum.com/images/3/30/WIP2_fr2.jpg}}</nowiki><br>
 
<nowiki>|}</nowiki><br>
 
<nowiki>|}</nowiki><br>
  
Line 36: Line 36:
  
 
{| width="100%" border="0" cellpadding="15"
 
{| width="100%" border="0" cellpadding="15"
|{{clickpic|Parish_Registers| http://www.familytreeforum.com/wiki/images/d/d6/Register_fr2.jpg}}
+
|{{clickpic|Parish_Registers| http://reference.familytreeforum.com/images/d/d6/Register_fr2.jpg}}
||{{clickpic| Certificate_tutorials| http://www.familytreeforum.com/wiki/images/c/ca/Certs_fr.jpg}}
+
||{{clickpic| Certificate_tutorials| http://reference.familytreeforum.com/images/c/ca/Certs_fr.jpg}}
||{{clickpic|World_Index_Page| http://www.familytreeforum.com/wiki/images/3/30/WIP2_fr2.jpg}}
+
||{{clickpic|World_Index_Page| http://reference.familytreeforum.com/images/3/30/WIP2_fr2.jpg}}
 
|}
 
|}
  
Line 47: Line 47:
  
 
{| width="100%" border="0" cellpadding="10"
 
{| width="100%" border="0" cellpadding="10"
||{{clickpic|Online_Research| http://www.familytreeforum.com/wiki/images/thumb/5/5f/Online_fr2.jpg/150px-Online_fr2.jpg}}
+
||{{clickpic|Online_Research| http://reference.familytreeforum.com/images/thumb/5/5f/Online_fr2.jpg/150px-Online_fr2.jpg}}
||{{clickpic|World_Index_Page| http://www.familytreeforum.com/wiki/images/thumb/c/c8/WIP_fr.jpg/120px-WIP_fr.jpg}}
+
||{{clickpic|World_Index_Page| http://reference.familytreeforum.com/images/thumb/c/c8/WIP_fr.jpg/120px-WIP_fr.jpg}}
||{{clickpic|World_Index_Page| http://www.familytreeforum.com/wiki/images/thumb/f/f7/Counties_fr2.jpg/150px-Counties_fr2.jpg}}
+
||{{clickpic|World_Index_Page| http://reference.familytreeforum.com/images/thumb/f/f7/Counties_fr2.jpg/150px-Counties_fr2.jpg}}
||{{clickpic|Surname_Directory| http://www.familytreeforum.com/wiki/images/thumb/9/9f/Surnames3_fr2.jpg/150px-Surnames3_fr2.jpg}}  
+
||{{clickpic|Surname_Directory| http://reference.familytreeforum.com/images/thumb/9/9f/Surnames3_fr2.jpg/150px-Surnames3_fr2.jpg}}  
 
|}
 
|}
  
Line 57: Line 57:
  
 
{| width="100%" border="0" cellpadding="15"
 
{| width="100%" border="0" cellpadding="15"
|{{clickpic|Surname Directory - A|http://www.familytreeforum.com/wiki/images/thumb/5/5c/InitialsA.jpg/75px-InitialsA.jpg}}
+
|{{clickpic|Surname Directory - A|http://reference.familytreeforum.com/images/thumb/5/5c/InitialsA.jpg/75px-InitialsA.jpg}}
||{{clickpic|Surname Directory - B|http://www.familytreeforum.com/wiki/images/thumb/0/08/InitialsB.jpg/75px-InitialsB.jpg}}
+
||{{clickpic|Surname Directory - B|http://reference.familytreeforum.com/images/thumb/0/08/InitialsB.jpg/75px-InitialsB.jpg}}
||{{clickpic|Surname Directory - C|http://www.familytreeforum.com/wiki/images/thumb/6/6e/InitialsC.jpg/75px-InitialsC.jpg}}
+
||{{clickpic|Surname Directory - C|http://reference.familytreeforum.com/images/thumb/6/6e/InitialsC.jpg/75px-InitialsC.jpg}}
||{{clickpic|Surname Directory - D|http://www.familytreeforum.com/wiki/images/thumb/f/fb/InitialsD.jpg/75px-InitialsD.jpg}}
+
||{{clickpic|Surname Directory - D|http://reference.familytreeforum.com/images/thumb/f/fb/InitialsD.jpg/75px-InitialsD.jpg}}
||{{clickpic|Surname Directory - E|http://www.familytreeforum.com/wiki/images/thumb/5/5a/InitialsE.jpg/75px-InitialsE.jpg}}
+
||{{clickpic|Surname Directory - E|http://reference.familytreeforum.com/images/thumb/5/5a/InitialsE.jpg/75px-InitialsE.jpg}}
||{{clickpic|Surname Directory - F|http://www.familytreeforum.com/wiki/images/thumb/4/4c/InitialsF.jpg/75px-InitialsF.jpg}}
+
||{{clickpic|Surname Directory - F|http://reference.familytreeforum.com/images/thumb/4/4c/InitialsF.jpg/75px-InitialsF.jpg}}
||{{clickpic|Surname Directory - D|http://www.familytreeforum.com/wiki/images/thumb/f/fb/InitialsD.jpg/75px-InitialsD.jpg}}
+
||{{clickpic|Surname Directory - D|http://reference.familytreeforum.com/images/thumb/f/fb/InitialsD.jpg/75px-InitialsD.jpg}}
||{{clickpic|Surname Directory - E|http://www.familytreeforum.com/wiki/images/thumb/5/5a/InitialsE.jpg/75px-InitialsE.jpg}}
+
||{{clickpic|Surname Directory - E|http://reference.familytreeforum.com/images/thumb/5/5a/InitialsE.jpg/75px-InitialsE.jpg}}
 
|}
 
|}
  
Line 71: Line 71:
  
 
{| width="100%" height="35px" border="0" cellpadding="15"
 
{| width="100%" height="35px" border="0" cellpadding="15"
|{{clickpic|Surname Directory - E|http://www.familytreeforum.com/wiki/images/thumb/5/5a/InitialsE.jpg/75px-InitialsE.jpg}}
+
|{{clickpic|Surname Directory - E|http://reference.familytreeforum.com/images/thumb/5/5a/InitialsE.jpg/75px-InitialsE.jpg}}
||{{clickpic|Certificate_tutorials| http://www.familytreeforum.com/wiki/images/c/ca/Certs_fr.jpg}}
+
||{{clickpic|Certificate_tutorials| http://reference.familytreeforum.com/images/c/ca/Certs_fr.jpg}}
||{{clickpic|Surname Directory - F|http://www.familytreeforum.com/wiki/images/thumb/4/4c/InitialsF.jpg/75px-InitialsF.jpg}}
+
||{{clickpic|Surname Directory - F|http://reference.familytreeforum.com/images/thumb/4/4c/InitialsF.jpg/75px-InitialsF.jpg}}
||{{clickpic|World_Index_Page| http://www.familytreeforum.com/wiki/images/3/30/WIP2_fr2.jpg}}
+
||{{clickpic|World_Index_Page| http://reference.familytreeforum.com/images/3/30/WIP2_fr2.jpg}}
 
|-
 
|-
 
|}
 
|}
Line 93: Line 93:
 
:'''4.'''  Copy the hyperlink and paste it to where you need to use it.
 
:'''4.'''  Copy the hyperlink and paste it to where you need to use it.
  
  <nowiki> http://www.familytreeforum.com/wiki/images/thumb/0/08/InitialsB.jpg/75px-InitialsB.jpg</nowiki>
+
  <nowiki> http://reference.familytreeforum.com/images/thumb/0/08/InitialsB.jpg/75px-InitialsB.jpg</nowiki>
  
 
:'''5.''' Edit the page and remove the <nowiki>[[image:InitialsB.jpg|75px]]</nowiki><br>
 
:'''5.''' Edit the page and remove the <nowiki>[[image:InitialsB.jpg|75px]]</nowiki><br>
Line 100: Line 100:
 
==Images as hyperlinks to external websites and externally hosted images==
 
==Images as hyperlinks to external websites and externally hosted images==
  
***still working on this section***
+
This example uses clickable pictures to hyperlink to sites outside The Wiki.
  
This example uses clickable pictures - this has the advantage of allowing you to use images to hyperlink to sites outside The Wiki. The first URL is the external URL of the full sized image. The thumbnail uses the URL of the image on The Wiki. The thumbnail image has to be uploaded to The Wiki in the size you need to use.
+
The first URL is the external URL of the website.  
  
This example gives a choice between '''either''' a picture which will take you to the photobucket version '''or''' a text link which will also take you direct to the photobucket version. When the thumbnail is clicked, you see the picture in the orginal size.
+
The thumbnail uses the URL of the image on The Wiki.  
  
  <nowiki> <span class="plainlinks"> link </span></nowiki> stops the blue arrow on the side.
+
The thumbnail image has to be uploaded to The Wiki in the size you need to use.
 +
 
 +
 
 +
  <nowiki> <span class="plainlinks"> link </span></nowiki> stops the blue arrow on the side as in the last example.
 +
 
 +
 
 +
=====THE CODE=====
 +
 
 +
<nowiki> {|  height="35px" border="0" cellpadding="15" </nowiki><br>
 +
<nowiki> |<span class="plainlinks"> [http://www.nationalarchives.gov.uk/ http://reference.familytreeforum.com/images/e/e6/Natar.jpg] </span></nowiki><br>
 +
<nowiki> |<span class="plainlinks"> [http://www.familysearch.org/ http://reference.familytreeforum.com/images/1/10/Famsea.jpg]</span></nowiki><br>
 +
<nowiki> |<span class="plainlinks"> [http://www.google.co.uk/ http://reference.familytreeforum.com/images/8/8c/Google.jpg]</span></nowiki><br>
 +
<nowiki> |[http://www.nationalarchives.gov.uk/ http://reference.familytreeforum.com/images/e/e6/Natar.jpg]</nowiki> <br>
 +
<nowiki> |}</nowiki><br>
 +
 
 +
 
 +
=====THE RESULT=====
  
 
{|  height="35px" border="0" cellpadding="15"
 
{|  height="35px" border="0" cellpadding="15"
 +
|<span class="plainlinks"> [http://www.nationalarchives.gov.uk/ http://reference.familytreeforum.com/images/e/e6/Natar.jpg] </span>
 +
|<span class="plainlinks"> [http://www.familysearch.org/ http://reference.familytreeforum.com/images/1/10/Famsea.jpg]</span>
 +
|<span class="plainlinks"> [http://www.google.co.uk/ http://reference.familytreeforum.com/images/8/8c/Google.jpg]</span>
 +
|[http://www.nationalarchives.gov.uk/ http://reference.familytreeforum.com/images/e/e6/Natar.jpg]
 +
|}
 +
 +
 +
==Images as hyperlinks to Wiki pages from pictures in the Wiki.==
 +
 +
You can also use this method for linking to Wiki pages, although linking to the page name rather than the URl is easier.
  
|<span class="plainlinks"> [http://www.lewcock.net http://www.familytreeforum.com/wiki/images/thumb/d/d3/Buckinghamshire.jpg/150px-Buckinghamshire.jpg] </span>
 
  
|<span class="plainlinks"> [http://i107.photobucket.com/albums/m306/caroline_lewcock/County%20Boards/CheshamBuckinghamshireStMarysChurch.jpg http://www.familytreeforum.com/wiki/images/thumb/d/d3/Buckinghamshire.jpg/150px-Buckinghamshire.jpg]</span>
+
=====THE CODE=====
  
|<span class="plainlinks"> [http://i107.photobucket.com/albums/m306/caroline_lewcock/a0eb401.gif http://www.familytreeforum.com/wiki/images/thumb/d/d3/Buckinghamshire.jpg/150px-Buckinghamshire.jpg]</span>
+
<nowiki> {| width="100%" height="35px" border="0" cellpadding="10" </nowiki><br>
 +
<nowiki>| width="30%"|<span class="plainlinks"> [http://www.familytreeforum.com/genealogy-general http://reference.familytreeforum.com/images/3/36/Research.jpg]</span></nowiki><br>
 +
<nowiki>| width="30%"|<span class="plainlinks"> [http://reference.familytreeforum.com/index.php/Creating_Your_Family_Tree http://reference.familytreeforum.com/images/f/fe/Create_fr.jpg]</span></nowiki><br>
 +
<nowiki>| width="30%"| <span class="plainlinks"> [http://www.familytreeforum.com/family-tree-forum-community-boards http://reference.familytreeforum.com/images/2/2e/Community.jpg] </span></nowiki><br>
 +
<nowiki>|}</nowiki><br>
  
|<span class="plainlinks"> [http://i107.photobucket.com/albums/m306/caroline_lewcock/a0eb401.gif Hello Sailor]</span>
+
 
 +
=====THE RESULT=====
 +
 
 +
{| width="100%" height="35px" border="0" cellpadding="10"
 +
| width="30%"|<span class="plainlinks"> [http://www.familytreeforum.com/genealogy-general http://reference.familytreeforum.com/images/3/36/Research.jpg]</span>
 +
| width="30%"|<span class="plainlinks"> [http://reference.familytreeforum.com/index.php/Creating_Your_Family_Tree http://reference.familytreeforum.com/images/f/fe/Create_fr.jpg]</span>
 +
| width="30%"| <span class="plainlinks"> [http://www.familytreeforum.com/family-tree-forum-community-boards http://reference.familytreeforum.com/images/2/2e/Community.jpg] </span>
 
|}
 
|}
 +
  
 
  <nowiki> <span class="plainlinks"> link </span></nowiki> stops the blue arrow on the side.
 
  <nowiki> <span class="plainlinks"> link </span></nowiki> stops the blue arrow on the side.
  
  
[http://www.familytreeforum.com/wiki/index.php/Special:Allpages http://www.familytreeforum.com/wiki/images/b/b1/Index_fr2.jpg]  
+
[http://reference.familytreeforum.com/index.php/Special:Allpages http://reference.familytreeforum.com/images/b/b1/Index_fr2.jpg]  
  
  
 
<nowiki><span class="plainlinks">  
 
<nowiki><span class="plainlinks">  
[http://www.familytreeforum.com/wiki/index.php/Special:Allpages http://www.familytreeforum.com/wiki/images/b/b1/Index_fr2.jpg]  
+
[http://reference.familytreeforum.com/index.php/Special:Allpages http://reference.familytreeforum.com/images/b/b1/Index_fr2.jpg]  
 
</span></nowiki>
 
</span></nowiki>
  
  
 
<span class="plainlinks">  
 
<span class="plainlinks">  
[http://www.familytreeforum.com/wiki/index.php/Special:Allpages http://www.familytreeforum.com/wiki/images/b/b1/Index_fr2.jpg]  
+
[http://reference.familytreeforum.com/index.php/Special:Allpages http://reference.familytreeforum.com/images/b/b1/Index_fr2.jpg]  
 
</span>
 
</span>
  
  
==Images as hyperlinks to Wiki pages from pictures in the Wiki.==
+
==Other Help Pages==
 
 
 
 
xxx work in progress xx
 
  
You can also use this method for linking to Wiki pages, although linking to the page name rather than the URl is easier.
+
[[image:minibad.jpg]] '''[[:Category:Help|The Wiki Guide]]'''
 
 
<nowiki> {| width="100%" height="35px" border="0" cellpadding="10" </nowiki><br>
 
<nowiki>| width="30%"|<span class="plainlinks"> [http://www.familytreeforum.com/genealogy-general http://www.familytreeforum.com/wiki/images/3/36/Research.jpg]</span></nowiki><br>
 
<nowiki>| width="30%"|<span class="plainlinks"> [http://www.familytreeforum.com/wiki/index.php/Creating_Your_Family_Tree http://www.familytreeforum.com/wiki/images/f/fe/Create_fr.jpg]</span></nowiki><br>
 
<nowiki>| width="30%"| <span class="plainlinks"> [http://www.familytreeforum.com/family-tree-forum-community-boards http://www.familytreeforum.com/wiki/images/2/2e/Community.jpg] </span></nowiki><br>
 
<nowiki>|}</nowiki><br>
 
 
 
 
 
{| width="100%" height="35px" border="0" cellpadding="10"
 
| width="30%"|<span class="plainlinks"> [http://www.familytreeforum.com/genealogy-general http://www.familytreeforum.com/wiki/images/3/36/Research.jpg]</span>
 
| width="30%"|<span class="plainlinks"> [http://www.familytreeforum.com/wiki/index.php/Creating_Your_Family_Tree http://www.familytreeforum.com/wiki/images/f/fe/Create_fr.jpg]</span>
 
| width="30%"| <span class="plainlinks"> [http://www.familytreeforum.com/family-tree-forum-community-boards http://www.familytreeforum.com/wiki/images/2/2e/Community.jpg] </span>
 
|}
 

Latest revision as of 21:02, 29 June 2022


Imhyptop.jpg

Clickpic ~ hyperlinked pictures

The following tables are constructed using Wiki Code.

For an explanation of how the tables are constructed see Working With Tables

Clicking on the picture will take you to a page in The Wiki.


THE CODE

{| width="100%" border="0" cellpadding="15"
|{{clickpic|Parish_Registers| http://reference.familytreeforum.com/images/d/d6/Register_fr2.jpg}}
||{{clickpic| Certificate_tutorials| http://reference.familytreeforum.com/images/c/ca/Certs_fr.jpg}}
||{{clickpic|World_Index_Page| http://reference.familytreeforum.com/images/3/30/WIP2_fr2.jpg}}
|}


EXPLANATION OF THE CODE

Dictating the width as a percentage ensures an even display on any size screen.

 {| width="100%" border="0" cellpadding="15" 
Gall3.jpg


THE RESULT

Register_fr2.jpg Certs_fr.jpg WIP2_fr2.jpg


By adjusting the cellpadding and size of image, you can have as many pictures in a row as you wish.

 width="100%" height="35px" border="0" cellpadding="10" 
150px-Online_fr2.jpg 120px-WIP_fr.jpg 150px-Counties_fr2.jpg 150px-Surnames3_fr2.jpg


 width="100%" border="0" cellpadding="15"
75px-InitialsA.jpg 75px-InitialsB.jpg 75px-InitialsC.jpg 75px-InitialsD.jpg 75px-InitialsE.jpg 75px-InitialsF.jpg 75px-InitialsD.jpg 75px-InitialsE.jpg


You can mix image sizes in the same row.

75px-InitialsE.jpg Certs_fr.jpg 75px-InitialsF.jpg WIP2_fr2.jpg


To make the smaller 'Clickpic' images

To use an exact copy of an image which is already in The Wiki, you need to make the image smaller in advance:

1. Type the image code at the size you need:
 [[image:InitialsB.jpg|75px]]
2. Save the page
3. When the image appears at the new size, right click on it and select properties.
4. Copy the hyperlink and paste it to where you need to use it.
 http://reference.familytreeforum.com/images/thumb/0/08/InitialsB.jpg/75px-InitialsB.jpg
5. Edit the page and remove the [[image:InitialsB.jpg|75px]]


Images as hyperlinks to external websites and externally hosted images

This example uses clickable pictures to hyperlink to sites outside The Wiki.

The first URL is the external URL of the website.

The thumbnail uses the URL of the image on The Wiki.

The thumbnail image has to be uploaded to The Wiki in the size you need to use.


 <span class="plainlinks"> link </span> stops the blue arrow on the side as in the last example.


THE CODE

{| height="35px" border="0" cellpadding="15"
|<span class="plainlinks"> [http://www.nationalarchives.gov.uk/ http://reference.familytreeforum.com/images/e/e6/Natar.jpg] </span>
|<span class="plainlinks"> [http://www.familysearch.org/ http://reference.familytreeforum.com/images/1/10/Famsea.jpg]</span>
|<span class="plainlinks"> [http://www.google.co.uk/ http://reference.familytreeforum.com/images/8/8c/Google.jpg]</span>
|[http://www.nationalarchives.gov.uk/ http://reference.familytreeforum.com/images/e/e6/Natar.jpg]
|}


THE RESULT
Natar.jpg Famsea.jpg Google.jpg Natar.jpg


Images as hyperlinks to Wiki pages from pictures in the Wiki.

You can also use this method for linking to Wiki pages, although linking to the page name rather than the URl is easier.


THE CODE

{| width="100%" height="35px" border="0" cellpadding="10"
| width="30%"|<span class="plainlinks"> [http://www.familytreeforum.com/genealogy-general http://reference.familytreeforum.com/images/3/36/Research.jpg]</span>
| width="30%"|<span class="plainlinks"> [http://reference.familytreeforum.com/index.php/Creating_Your_Family_Tree http://reference.familytreeforum.com/images/f/fe/Create_fr.jpg]</span>
| width="30%"| <span class="plainlinks"> [http://www.familytreeforum.com/family-tree-forum-community-boards http://reference.familytreeforum.com/images/2/2e/Community.jpg] </span>
|}


THE RESULT
Research.jpg Create_fr.jpg Community.jpg


 <span class="plainlinks"> link </span> stops the blue arrow on the side.


Index_fr2.jpg


<span class="plainlinks"> [http://reference.familytreeforum.com/index.php/Special:Allpages http://reference.familytreeforum.com/images/b/b1/Index_fr2.jpg] </span>


Index_fr2.jpg


Other Help Pages

Minibad.jpg The Wiki Guide