Difference between revisions of "Using Multiple Images"

From the Family Tree Forum Reference Library
m
m
 
(47 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]]
  
====More than one image on page====
+
__TOC__
<br><br>
+
==More than one image on page==
  
====='''1. Gallery - small thumbnails''' =====
+
There are several ways of organising multiple images on a page.
  
<gallery caption="CONTENTS" widths="200px" heights="50px" perrow="4">
+
These are examples of some of the techniques which have been used in The Wiki. They are based on using a table.
Image: WIP2_fr2.jpg|[[World_Index_Page]]  
+
 
Image: Surnames3_fr2.jpg|[[Surname Directory]]
+
 
Image: Bigbook5_fr2.jpg|The [[Big_Book]] of Genealogy.  
+
'''For an explanation of how tables are constructed see [[Working With Tables]]'''
Image: Census_fr2.jpg|[[Census_Search]]  
+
 
</gallery>
+
==Simple row==
<br><br>
+
 
====='''2. Clickpic - hyperlinked pictures'''=====
+
====Images uploaded to The Wiki====
 +
 
 +
=====THE CODE=====
 +
 
 +
<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 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}}
+
|[[image:Yeomen.jpg|center|frame|Essex Yeomanry]]
||{{clickpic| Certificate_tutorials| http://www.familytreeforum.com/wiki/images/c/ca/Certs_fr.jpg}}
+
||[[image:Navalworkshop.jpg|center|250px]]
||{{clickpic|World_Index_Page| http://www.familytreeforum.com/wiki/images/3/30/WIP2_fr2.jpg}}
+
||[[image:CCelection.jpg|center|200px|thumb|Election Count]]
|-
 
 
|}
 
|}
  
[[image:WIP_fr.jpg|150px]]
 
[[image:Surname_new.jpg|150px]]
 
[[image:Counties_new.jpg|150px]]
 
[[image:Online_new.jpg|150px]]
 
  
{| height="35px" border="0" cellpadding="10"
+
====Externally hosted images====
||{{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}}
+
=====THE CODE=====
||{{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}}
+
<nowiki>{| width="100%" border="0" cellpadding="5"</nowiki><br>
|-
+
<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>
 +
<nowiki>||http://i107.photobucket.com/albums/m306/caroline_lewcock/bunny_flow2.gif </nowiki><br>
 +
<nowiki>|}</nowiki><br>
 +
 
 +
 
 +
=====THE RESULT=====
 +
 
 +
{| 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
 
|}
 
|}
<span class="plainlinks"> [http://www.familytreeforum.com/wiki/index.php/Special:Allpages http://www.familytreeforum.com/wiki/images/b/b1/Index_fr2.jpg] </span>
 
  
<br><br>
 
  
'''To make smaller clickpic images:'''
+
==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]]'''
 +
 
 +
 
 +
'''[[Sussex_Towns_and_Parishes_H|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:'''
 +
 
 +
 
 +
[[image:pow1c.jpg|center]]
  
{| border="0" cellpadding="20"
 
|{{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}}
 
|-
 
|}
 
  
You have to make the image smaller in advance ... you can't just edit the existing code!!
+
[[image:pow1.jpg|center]]
 +
 
 +
 
 +
====One picture====
 +
 
 +
=====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>
 +
 
 +
 
 +
=====THE RESULT=====
 +
 
 +
<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>
 +
 
 +
 
 +
====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.
 +
 
 +
 
 +
[[image:pow2b.jpg|center]]
 +
 
 +
 
 +
=====THE CODE=====
 +
 
 +
<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>
 +
 
 +
 
 +
=====THE RESULT=====
 +
 
 +
<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>
 +
 
 +
 
 +
====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.
 +
 
 +
 
 +
[[image:pow3.jpg]]
 +
 
  
[[image:InitialsB.jpg|75px]] Right click and select properties, copy the hyperlink.
+
==Simple Gallery ~ small thumbnails==
  
<nowiki> http://www.familytreeforum.com/wiki/images/thumb/0/08/InitialsB.jpg/75px-InitialsB.jpg</nowiki>
+
Using the Mediawiki Gallery gives a preset table. You have little or no flexibility in using this.
<br><br><br><br>
 
'''You can Mix and Match sizes:'''
 
  
{| height="35px" border="0" cellpadding="15"
+
If you click on the pictures, you see the image itself. Selecting the link takes you to the page in The Wiki.
|{{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}}
 
|-
 
|}
 
<br><br>
 
'''Images as hyperlinks 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. It uses the hyperlink of the image page. the image has to be uploaded in the size you need to use.
 
  
<nowiki> <span class="plainlinks"> link </span></nowiki> stops the blue arrow on the side.
+
====THE CODE====
  
{| width="100%" height="35px" border="0" cellpadding="10"
+
<nowiki> <gallery caption="CONTENTS"></nowiki> <br>
! width="30%"|<span class="plainlinks"> [http://www.familytreeforum.com/genealogy-general http://www.familytreeforum.com/wiki/images/3/36/Research.jpg]</span>
+
<nowiki>Image: WIP2_fr2.jpg|[[World_Index_Page]] </nowiki><br>
! 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>Image: Surnames3_fr2.jpg|[[Surname Directory]] </nowiki><br>
! 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>Image: Census_fr2.jpg|[[Census_Search]] </nowiki><br>
|}
+
<nowiki></gallery></nowiki><br>
<br><br>
 
  
====='''3. Picture on the left, some text and picture on the right'''=====
 
  
 +
====EXPLANATION OF THE CODE====
  
N.B. If the image has no "built in" border you need to use |thumb| not |frame|.
+
[[image:gall.jpg|center]]
  
  
[[Image:Documents_fr2.jpg|left|150px|]]
+
====THE RESULT====
[[image:construction.jpg|right|250px|]]
 
  
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec in enim. Aliquam erat volutpat. Maecenas id nibh ut turpis lobortis commodo. Phasellus sed neque. Proin fringilla euismod libero. Etiam vel lectus. Aliquam dui. Curabitur venenatis molestie neque. Integer mi dolor, gravida at, accumsan eget, fringilla eget, arcu. Suspendisse euismod. Nam et lorem accumsan magna venenatis pellentesque. In et ante. Etiam magna. Cras rutrum mi quis tellus.  
+
<gallery caption="CONTENTS">
 +
Image: WIP2_fr2.jpg|[[World_Index_Page]]
 +
Image: Surnames3_fr2.jpg|[[Surname Directory]]
 +
Image: Census_fr2.jpg|[[Census_Search]]
 +
</gallery>
  
Sed mi eros, lacinia mattis, gravida vel, placerat posuere, lacus. Duis accumsan tincidunt sapien. Morbi sed velit. Etiam quis orci. Donec at velit sed lorem elementum feugiat. Curabitur ut ligula. Quisque in eros. Morbi sed enim id sapien tristique fringilla. Nunc ligula augue, pellentesque ac, nonummy id, semper eget, ante. Sed mi eros, lacinia mattis, gravida vel, placerat posuere, lacus. Duis accumsan tincidunt sapien. Morbi sed velit. Etiam quis orci. Donec at velit sed lorem elementum feugiat. Curabitur ut ligula. Quisque in eros. Morbi sed enim id sapien tristique fringilla. Nunc ligula augue, pellentesque ac, nonummy id, semper eget, ante.
 
  
[[Adding Content to The Wiki ~ Images and Tables]]
 
  
[[Uploading images to The Wiki]]
+
==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