Difference between revisions of "Using Multiple Images"

From the Family Tree Forum Reference Library
m
m
Line 66: Line 66:
  
 
The advantage to this method is that you can add a caption to the picture.
 
The advantage to this method is that you can add a caption to the picture.
 +
  
 
'''The code needed for one picture:'''
 
'''The code needed for one picture:'''
  
  
[[image:pow1b.jpg|center]]
+
[[image:pow1c.jpg|center]]
  
  
Line 98: Line 99:
 
====More than one picture====
 
====More than one picture====
  
xxxxxx text xxxxx
+
If you want to add another picture to the row (maximum is 4), you just add another row of the code.
  
  

Revision as of 08:44, 13 April 2008

Page being edited by Caroline


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

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.

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.


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

Mixing images and text


Other Help Pages