Difference between revisions of "Using Multiple Images"

From the Family Tree Forum Reference Library
m
m
 
(27 intermediate revisions by the same 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:helpimage2.jpg]]
 
[[image:helpimage2.jpg]]
  
 
+
__TOC__
 
==More than one image on page==
 
==More than one image on page==
  
Line 15: Line 14:
 
'''For an explanation of how tables are constructed see [[Working With Tables]]'''
 
'''For an explanation of how tables are constructed see [[Working With Tables]]'''
  
 +
==Simple row==
  
==Simple Gallery - small thumbnails==
+
====Images uploaded to The Wiki====
  
Using the Gallery gives a preset table.
+
=====THE CODE=====
  
If you click on the pictures, you see the image itself. Selecting the link takes you to the page in The Wiki.
+
<nowiki> {| width="100%" border="0" cellpadding="5" </nowiki> <br>
 +
<nowiki>|[[image:Yeomen.jpg|center|frame|Essex Yeomanry]]</nowiki> Original size and caption.<br>
 +
<nowiki>||[[image:Navalworkshop.jpg|center|250px]]</nowiki> Resized.<br>
 +
<nowiki>||[[image:CCelection.jpg|center|200px|thumb|Election Count]]</nowiki> Resized with caption.<br>
 +
<nowiki>|}</nowiki><br>
  
  
====THE CODE====
+
=====THE RESULT=====
  
<nowiki> <gallery caption="CONTENTS"></nowiki> <br>
+
{| width="100%" border="0" cellpadding="5"
<nowiki>Image: WIP2_fr2.jpg|[[World_Index_Page]] </nowiki><br>
+
|[[image:Yeomen.jpg|center|frame|Essex Yeomanry]]
<nowiki>Image: Surnames3_fr2.jpg|[[Surname Directory]] </nowiki><br>
+
||[[image:Navalworkshop.jpg|center|250px]]
<nowiki>Image: Census_fr2.jpg|[[Census_Search]] </nowiki><br>
+
||[[image:CCelection.jpg|center|200px|thumb|Election Count]]
<nowiki></gallery></nowiki><br>
+
|}
  
  
====EXPLANATION OF THE CODE====
+
====Externally hosted images====
  
[[image:gall.jpg]]
+
=====THE CODE=====
  
 
+
<nowiki>{| width="100%" border="0" cellpadding="5"</nowiki><br>
====THE RESULT====
+
<nowiki>| http://i107.photobucket.com/albums/m306/caroline_lewcock/christen.png</nowiki><br>
 
+
<nowiki>||http://i107.photobucket.com/albums/m306/caroline_lewcock/johnandsarahcopy.jpg</nowiki><br>
<gallery caption="CONTENTS">
+
<nowiki>||http://i107.photobucket.com/albums/m306/caroline_lewcock/bunny_flow2.gif </nowiki><br>
Image: WIP2_fr2.jpg|[[World_Index_Page]]
 
Image: Surnames3_fr2.jpg|[[Surname Directory]]
 
Image: Census_fr2.jpg|[[Census_Search]]
 
</gallery>
 
 
 
 
 
 
 
==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====
 
 
 
<nowiki> {| height="35px" 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| Certificate_tutorials| http://www.familytreeforum.com/wiki/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>|}</nowiki><br>
 
<nowiki>|}</nowiki><br>
  
  
====EXPLANATION OF THE CODE====
+
=====THE RESULT=====
 
 
[[image:gall2.jpg]]
 
 
 
 
 
====THE RESULT====
 
  
{| height="35px" border="0" cellpadding="15"
+
{| width="100%" border="0" cellpadding="5"
|{{clickpic|Parish_Registers| http://www.familytreeforum.com/wiki/images/d/d6/Register_fr2.jpg}}
+
| http://i107.photobucket.com/albums/m306/caroline_lewcock/christen.png
||{{clickpic| Certificate_tutorials| http://www.familytreeforum.com/wiki/images/c/ca/Certs_fr.jpg}}
+
||http://i107.photobucket.com/albums/m306/caroline_lewcock/johnandsarahcopy.jpg
||{{clickpic|World_Index_Page| http://www.familytreeforum.com/wiki/images/3/30/WIP2_fr2.jpg}}
+
||http://i107.photobucket.com/albums/m306/caroline_lewcock/bunny_flow2.gif
 
|}
 
|}
  
  
'''By adjusting the cellpadding and size of image, you can have as many pictures in a row as you wish.'''
+
==Table as used in the Places of Worship==
  
{| height="35px" border="0" cellpadding="10"
+
These pictures are laid out in a table. You can have single pictures or several in a row.  
||{{clickpic|Online_Research| http://www.familytreeforum.com/wiki/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://www.familytreeforum.com/wiki/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}}
 
|}
 
  
  
'''You can mix image sizes in the same row.'''
+
'''[[Places of Worship ~ Adding Photographs]]'''
  
{| 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|Certificate_tutorials| http://www.familytreeforum.com/wiki/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|World_Index_Page| http://www.familytreeforum.com/wiki/images/3/30/WIP2_fr2.jpg}}
 
|-
 
|}
 
  
 +
'''[[Sussex_Towns_and_Parishes_H|Example page]]'''
  
====To make the smaller clickpic images====
 
  
{| border="0" cellpadding="20"
+
Clicking on the picture takes you to the full size image.  
|{{clickpic|Surname Directory - A|http://www.familytreeforum.com/wiki/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 - C|http://www.familytreeforum.com/wiki/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 - E|http://www.familytreeforum.com/wiki/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}}
 
|-
 
|}
 
  
'''SCREENSHOT FOR STEP BY STEP'''
+
You do not need to upload your picture to The Wiki first.
  
You have to make the image smaller in advance ... you can't just edit the existing code!!
+
When you have saved your page you will be taken to to the upload page when you click on the name of the picture.
  
[[image:InitialsB.jpg|75px]] Right click and select properties, copy the hyperlink.
+
This page explains the process for '''[[Uploading Images to The Wiki]]'''.
  
<nowiki> http://www.familytreeforum.com/wiki/images/thumb/0/08/InitialsB.jpg/75px-InitialsB.jpg</nowiki>
 
  
 +
'''The code needed for one picture:'''
  
==Images as hyperlinks to Wiki pages from pictures in the Wiki.==
 
  
xxxxxxxxxx still working on this bit xxxxxxxxxx
+
[[image:pow1c.jpg|center]]
  
Dictating the width as a percentage ensures an even display on any size screen.
 
  
<nowiki> {| width="100%" height="35px" border="0" cellpadding="10" </nowiki><br>
+
[[image:pow1.jpg|center]]
<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"
+
====One picture====
| 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>
 
|}
 
  
<nowiki> <span class="plainlinks"> link </span></nowiki> stops the blue arrow on the side.
+
=====THE CODE=====
  
 +
<nowiki> <table cellpadding=10></nowiki><br>
 +
<nowiki><tr></nowiki><br>
 +
<nowiki><td>[[Image:St Francis of Assissi, Hassocks, W Sussex JILL ON A272.jpg|thumb|150px|St. Francis of Assisi. Submitted by Jill on A272 ‎]]</td></nowiki><br>
 +
<nowiki></tr></nowiki><br>
 +
<nowiki></table></nowiki><br>
  
[http://www.familytreeforum.com/wiki/index.php/Special:Allpages http://www.familytreeforum.com/wiki/images/b/b1/Index_fr2.jpg]
 
  
 +
=====THE RESULT=====
  
<nowiki><span class="plainlinks">  
+
<table cellpadding=10>
[http://www.familytreeforum.com/wiki/index.php/Special:Allpages http://www.familytreeforum.com/wiki/images/b/b1/Index_fr2.jpg]
+
<tr>
</span></nowiki>
+
<td>[[Image:St Francis of Assissi, Hassocks, W Sussex JILL ON A272.jpg|thumb|150px|St. Francis of Assisi. Submitted by Jill on A272 ‎]]</td>
 +
</tr>
 +
</table>
  
  
<span class="plainlinks">
+
====More than one picture====
[http://www.familytreeforum.com/wiki/index.php/Special:Allpages http://www.familytreeforum.com/wiki/images/b/b1/Index_fr2.jpg]
 
</span>
 
  
 +
If you want to add another picture to the row (maximum is 4), you just add another row of the code.
  
==Images as hyperlinks to external websites and externally hosted images==
 
  
***still working on this section***
+
[[image:pow2b.jpg|center]]
  
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.
 
  
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 CODE=====
  
<nowiki> <span class="plainlinks"> link </span></nowiki> stops the blue arrow on the side.
+
<nowiki> <table cellpadding=10></nowiki> <br>
 +
<nowiki> <tr></nowiki> <br>
 +
'''First picture:''' <nowiki> <td>[[Image:Jireh_Strict_Baptist_Chapel,_Haywards_Heath,_West_Sussex_JILL_ON_A272.jpg‎ |thumb|150px|Jireh Strict Baptist Chapel. Submitted by Jill on the A272 ‎]]</td></nowiki> <br>
 +
'''Second picture:''' <nowiki> <td> [[Image:Perrymount_Road_Methodist_Church,_Haywards_Heath,_West_Sussex_JILL_ON_A272.jpg‎|thumb|150px|Perrymount Road Methodist Church. Submitted by Jill on the A272]]</td></nowiki> <br>
 +
'''Third picture:''' <nowiki> <td>[[Image:St_Edmunds's_Church,_Haywards_Heath,_Sussex_JILL_ON_A272.jpg‎|thumb|150px|St. Edmund's Church Submitted by Jill on the A272]]</td> </nowiki> <br>
 +
<nowiki> </tr> </nowiki> <br>
 +
<nowiki> </table> </nowiki> <br>
  
{|  height="35px" border="0" cellpadding="15"
 
  
|<span class="plainlinks"> [http://www.lewcock.net http://www.familytreeforum.com/wiki/images/thumb/d/d3/Buckinghamshire.jpg/150px-Buckinghamshire.jpg] </span>
+
=====THE RESULT=====
  
|<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>
+
<table cellpadding=10>
 +
<tr>
 +
<td>[[Image:Jireh_Strict_Baptist_Chapel,_Haywards_Heath,_West_Sussex_JILL_ON_A272.jpg‎ |thumb|150px|Jireh Strict Baptist Chapel. Submitted by Jill on the A272 ‎]]</td>
 +
<td>[[Image:Perrymount_Road_Methodist_Church,_Haywards_Heath,_West_Sussex_JILL_ON_A272.jpg‎|thumb|150px|Perrymount Road Methodist Church. Submitted by Jill on the A272]]</td>
 +
<td>[[Image:St_Edmunds's_Church,_Haywards_Heath,_Sussex_JILL_ON_A272.jpg‎|thumb|150px|St. Edmund's Church Submitted by Jill on the A272]]</td>
 +
</tr>
 +
</table>
  
|<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>
 
  
|<span class="plainlinks"> [http://i107.photobucket.com/albums/m306/caroline_lewcock/a0eb401.gif Hello Sailor]</span>
+
====More than four pictures====
|}
 
  
 +
The maximum number of pictures in a row should be four.
  
==Table as used in the Places of Worship==
+
If more rows are needed, you should make another table below the first one.
  
xxxxxxxxxx still working on this bit xxxxxxxxxx
 
  
These pictures are laid out in a table. You can have single pictures or several in a row.  
+
[[image:pow3.jpg]]
  
Clicking on the picture takes you to the full size image.
 
  
The advantage to this method is that you can add a caption to the picture.
+
==Simple Gallery ~ small thumbnails==
  
 +
Using the Mediawiki Gallery gives a preset table. You have little or no flexibility in using this.
  
<nowiki> <table cellpadding=10></nowiki><br>
+
If you click on the pictures, you see the image itself. Selecting the link takes you to the page in The Wiki.
<nowiki><tr></nowiki><br>
 
<nowiki><td>[[Image:St Francis of Assissi, Hassocks, W Sussex JILL ON A272.jpg|thumb|150px|St. Francis of Assisi. Submitted by Jill on A272 ‎]]</td></nowiki><br>
 
<nowiki></tr></nowiki><br>
 
<nowiki></table></nowiki><br>
 
  
  
<table cellpadding=10>
+
====THE CODE====
<tr>
 
<td>[[Image:St Francis of Assissi, Hassocks, W Sussex JILL ON A272.jpg|thumb|150px|St. Francis of Assisi. Submitted by Jill on A272 ‎]]</td>
 
</tr>
 
</table>
 
  
<table cellpadding=10>
+
<nowiki> <gallery caption="CONTENTS"></nowiki> <br>
<tr>
+
<nowiki>Image: WIP2_fr2.jpg|[[World_Index_Page]] </nowiki><br>
<td>[[Image:Jireh_Strict_Baptist_Chapel,_Haywards_Heath,_West_Sussex_JILL_ON_A272.jpg‎ |thumb|150px|Jireh Strict Baptist Chapel. Submitted by Jill on the A272 ‎]]</td>
+
<nowiki>Image: Surnames3_fr2.jpg|[[Surname Directory]] </nowiki><br>
<td>[[Image:Perrymount_Road_Methodist_Church,_Haywards_Heath,_West_Sussex_JILL_ON_A272.jpg‎|thumb|150px|Perrymount Road Methodist Church. Submitted by Jill on the A272]]</td>
+
<nowiki>Image: Census_fr2.jpg|[[Census_Search]] </nowiki><br>
<td>[[Image:St_Edmunds's_Church,_Haywards_Heath,_Sussex_JILL_ON_A272.jpg‎|thumb|150px|St. Edmund's Church Submitted by Jill on the A272]]</td>
+
<nowiki></gallery></nowiki><br>
</tr>
 
</table>
 
  
  
==Mixing images and text==
+
====EXPLANATION OF THE CODE====
  
* [[Adding Content to The Wiki ~ Mixing Text and Images]]
+
[[image:gall.jpg|center]]
  
  
==Other Help Pages==
+
====THE RESULT====
  
* [[Adding Content to The Wiki ~ Working With Images]]
+
<gallery caption="CONTENTS">
 +
Image: WIP2_fr2.jpg|[[World_Index_Page]]  
 +
Image: Surnames3_fr2.jpg|[[Surname Directory]]
 +
Image: Census_fr2.jpg|[[Census_Search]]
 +
</gallery>
  
* [[Uploading images to The Wiki]]
 
  
* [[Working With Tables]]
 
  
 +
==Other Help Pages==
  
* [[Help:Notes for Users]]
+
[[image:minibad.jpg]] '''[[:Category:Help|The Wiki Guide]]'''

Latest revision as of 10:54, 23 April 2008


Helpimage2.jpg

More than one image on page

There are several ways of organising multiple images on a page.

These are examples of some of the techniques which have been used in The Wiki. They are based on using a table.


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

Simple row

Images uploaded to The Wiki

THE CODE

{| width="100%" border="0" cellpadding="5"
|[[image:Yeomen.jpg|center|frame|Essex Yeomanry]] Original size and caption.
||[[image:Navalworkshop.jpg|center|250px]] Resized.
||[[image:CCelection.jpg|center|200px|thumb|Election Count]] Resized with caption.
|}


THE RESULT
Essex Yeomanry
Navalworkshop.jpg
Election Count


Externally hosted images

THE CODE

{| width="100%" border="0" cellpadding="5"
| http://i107.photobucket.com/albums/m306/caroline_lewcock/christen.png
||http://i107.photobucket.com/albums/m306/caroline_lewcock/johnandsarahcopy.jpg
||http://i107.photobucket.com/albums/m306/caroline_lewcock/bunny_flow2.gif
|}


THE RESULT
christen.png johnandsarahcopy.jpg bunny_flow2.gif


Table as used in the Places of Worship

These pictures are laid out in a table. You can have single pictures or several in a row.


Places of Worship ~ Adding Photographs


Example page


Clicking on the picture takes you to the full size image.

You do not need to upload your picture to The Wiki first.

When you have saved your page you will be taken to to the upload page when you click on the name of the picture.

This page explains the process for Uploading Images to The Wiki.


The code needed for one picture:


Pow1c.jpg


Pow1.jpg


One picture

THE CODE

<table cellpadding=10>
<tr>
<td>[[Image:St Francis of Assissi, Hassocks, W Sussex JILL ON A272.jpg|thumb|150px|St. Francis of Assisi. Submitted by Jill on A272 ‎]]</td>
</tr>
</table>


THE RESULT
St. Francis of Assisi. Submitted by Jill on A272 ‎


More than one picture

If you want to add another picture to the row (maximum is 4), you just add another row of the code.


Pow2b.jpg


THE CODE

<table cellpadding=10>
<tr>
First picture: <td>[[Image:Jireh_Strict_Baptist_Chapel,_Haywards_Heath,_West_Sussex_JILL_ON_A272.jpg‎ |thumb|150px|Jireh Strict Baptist Chapel. Submitted by Jill on the A272 ‎]]</td>
Second picture: <td> [[Image:Perrymount_Road_Methodist_Church,_Haywards_Heath,_West_Sussex_JILL_ON_A272.jpg‎|thumb|150px|Perrymount Road Methodist Church. Submitted by Jill on the A272]]</td>
Third picture: <td>[[Image:St_Edmunds's_Church,_Haywards_Heath,_Sussex_JILL_ON_A272.jpg‎|thumb|150px|St. Edmund's Church Submitted by Jill on the A272]]</td>
</tr>
</table>


THE RESULT
Jireh Strict Baptist Chapel. Submitted by Jill on the A272 ‎
Perrymount Road Methodist Church. Submitted by Jill on the A272
St. Edmund's Church Submitted by Jill on the A272


More than four pictures

The maximum number of pictures in a row should be four.

If more rows are needed, you should make another table below the first one.


Pow3.jpg


Simple Gallery ~ small thumbnails

Using the Mediawiki Gallery gives a preset table. You have little or no flexibility in using this.

If you click on the pictures, you see the image itself. Selecting the link takes you to the page in The Wiki.


THE CODE

<gallery caption="CONTENTS">
Image: WIP2_fr2.jpg|[[World_Index_Page]]
Image: Surnames3_fr2.jpg|[[Surname Directory]]
Image: Census_fr2.jpg|[[Census_Search]]
</gallery>


EXPLANATION OF THE CODE

Gall.jpg


THE RESULT


Other Help Pages

Minibad.jpg The Wiki Guide