Difference between revisions of "Working With Images"

From the Family Tree Forum Reference Library
m
m
 
(35 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:helpimage.jpg]]
 +
__TOC__
  
  
[[image:style8.jpg]]
+
To use images on pages in The Wiki, you have two options.  
  
 +
It is possible to link to them from sites like '''[http://photobucket.com/ Photobucket]''' or your own website but you need to remember not to move or delete those pictures. It is safer to upload them directly to The Wiki although there are limitations on type and size.
  
__TOC__
+
Linking to pictures on an external site gives you the opportunity to add animations, larger pictures or other file types.
  
 +
Both methods give you the opportunity to create clickable pictures, mix them with text and other images but the coding is more complex using images from external sites.
  
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi nulla. Sed in velit et metus fringilla gravida. Integer vitae dolor. Maecenas id odio. Ut et felis. Integer lorem. Suspendisse potenti. Fusce pharetra justo non odio. Morbi a tortor. Phasellus rhoncus. Pellentesque ac quam ac erat scelerisque ullamcorper. Nam non nisi. Proin massa. Integer dui turpis, placerat vel, elementum ut, consequat ut, arcu. Sed vestibulum, sapien nec bibendum pretium, sem nunc interdum massa, eu dapibus sapien enim nec turpis. Quisque et est. Nullam sed metus. Integer pretium dictum purus. Curabitur rhoncus.
 
  
 +
'''This picture has been uploaded to The Wiki''' [[image:Index_fr2.jpg]]
 +
 +
'''This picture has been uploaded to Photobucket ''' http://i107.photobucket.com/albums/m306/caroline_lewcock/a0eb401.gif
  
[[image:ruleimage.jpg]]
+
This page deals with using single images.  
  
 +
If you wish to know more about using them in other ways, please consult '''[[Using Multiple Images]]'''.
  
==Uploading pictures to The Wiki==
 
  
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi nulla. Sed in velit et metus fringilla gravida. Integer vitae dolor. Maecenas id odio. Ut et felis. Integer lorem. Suspendisse potenti. Fusce pharetra justo non odio. Morbi a tortor. Phasellus rhoncus. Pellentesque ac quam ac erat scelerisque ullamcorper. Nam non nisi. Proin massa. Integer dui turpis, placerat vel, elementum ut, consequat ut, arcu. Sed vestibulum, sapien nec bibendum pretium, sem nunc interdum massa, eu dapibus sapien enim nec turpis. Quisque et est. Nullam sed metus. Integer pretium dictum purus. Curabitur rhoncus.
+
To display images you should ensure that there are two line spaces BEFORE the image code and two spaces AFTER the code.
  
  
'''STEP BY STEP SCREENSHOT HERE'''
+
[[image:ruleimage.jpg]]
  
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi nulla. Sed in velit et metus fringilla gravida. Integer vitae dolor. Maecenas id odio. Ut et felis. Integer lorem. Suspendisse potenti. Fusce pharetra justo non odio. Morbi a tortor. Phasellus rhoncus. Pellentesque ac quam ac erat scelerisque ullamcorper. Nam non nisi. Proin massa. Integer dui turpis, placerat vel, elementum ut, consequat ut, arcu. Sed vestibulum, sapien nec bibendum pretium, sem nunc interdum massa, eu dapibus sapien enim nec turpis. Quisque et est. Nullam sed metus. Integer pretium dictum purus. Curabitur rhoncus.
 
  
 +
==Uploading pictures to The Wiki==
  
'''This picture has been uploaded to The Wiki''' [[image:Index_fr2.jpg]]
+
You can '''only''' upload .jpg (.JPEG) files and they must be '''no larger then 150kb'''.
  
  
<nowiki>[[image:Index_fr2.jpg]]</nowiki>
+
'''Step by Step instructions can be found on [[Uploading Images to The Wiki]]'''
  
  
 
==Code for images==
 
==Code for images==
  
 +
To align, dictate the size, give them a frame and/or caption for your images, the code is built up as follows:
  
====One single image====
+
'''<nowiki>[[name.jpg | alignment | size | thumb ''or'' frame | caption]]</nowiki>'''
  
name | alignment | size | thumb ''or'' frame | caption
 
  
 +
'''N.B.''' If you do not see the | character on your keyboard, you can obtain it by holding down the ALT key and
 +
simultaneously typing 124 on the numeric keypad. The character will appear when you release the ALT key.
 +
 +
 +
====One single image====
  
  
 
====='''1. You can just put in the image'''=====
 
====='''1. You can just put in the image'''=====
  
It will come out full size and aligned to the left with no border or caption.
+
It will come out full size and aligned to the left with no border or caption: <nowiki>[[image:NAME OF IMAGE.jpg]]</nowiki>
  
<nowiki>[[image:name of image.jpg]]</nowiki>
+
'''ACTUAL CODE:''' <nowiki>[[image:Building3.jpg]]</nowiki>  
  
 +
'''GIVES:'''
  
[[image:InitialsA.jpg]]
+
[[image:Building3.jpg]]
  
  
 
====='''2. You can choose horizontal alignment''' - right, left or center =====
 
====='''2. You can choose horizontal alignment''' - right, left or center =====
  
<nowiki> [[image:name of image.jpg|alignment]] </nowiki>  
+
<nowiki> [[image:NAME OF IMAGE.jpg|alignment]] </nowiki>  
  
 +
'''ACTUAL CODE:''' <nowiki>[[image:Building3.jpg|center]]</nowiki>
  
[[image:InitialsA.jpg|center]]  
+
'''GIVES:'''
 +
 
 +
[[image:Building3.jpg|center]]  
  
  
 
====='''3. You can choose the size'''=====
 
====='''3. You can choose the size'''=====
  
<nowiki> [[image:name of image.jpg||size]]</nowiki>  
+
<nowiki> [[image:NAME OF IMAGE.jpg|size]]</nowiki>  
  
[[image:InitialsA.jpg|50px]]  
+
'''ACTUAL CODE:''' <nowiki>[[Building3.jpg|50px]]</nowiki>
  
 +
'''GIVES:'''
  
=====4. To get a frame round your picture=====
+
[[image:Building3.jpg|50px]]
  
<nowiki>[[image:name of image.jpg|alignment|size|thumb]]</nowiki>
 
  
[[image:InitialsA.jpg|left|200px|thumb]]
+
=====4. To get a frame round your picture=====
  
 +
<nowiki>[[image:NAME OF IMAGE.jpg|alignment|size|thumb]]</nowiki>
  
 +
'''ACTUAL CODE:''' <nowiki>[[image:Building3.jpg|left|200px|thumb]]</nowiki>
  
 +
'''GIVES:'''
  
 +
[[image:Building3.jpg|left|200px|thumb]]
 +
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><br><BR><BR>
  
 +
=====5. To get a frame '''and''' have a caption for the picture=====
  
 +
<nowiki>[[image:NAME OF IMAGE.jpg|alignment|size|thumb|caption]]</nowiki>
  
 +
'''ACTUAL CODE:''' <nowiki>[[image:Building3.jpg|left|200px|thumb|Work in progress]]</nowiki>
  
 +
'''GIVES:'''
  
 +
[[image:Building3.jpg|left|200px|thumb|Work in progress]]
 +
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><br><BR><BR>
  
 +
=====6. Using frame instead of thumb=====
  
 +
N.B. Using '''frame''' gives a neater display, but as you can see from this example, if you use frame instead of thumb, the image displays at full size even if you have changed the size.
  
 +
<nowiki>[[image:NAME OF IMAGE.jpg|alignment|size|frame|caption]]</nowiki>
  
 +
'''ACTUAL CODE:''' <nowiki>[[image:Building3.jpg|left|10px|frame|Work in progress]]</nowiki>
  
 +
'''GIVES:'''
  
 +
[[image:Building3.jpg|left|10px|frame|Work in progress]]
 +
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
  
  
 +
'''WARNING: As soon as you add ''frame'' or ''thumb'', combining pictures and text can give very unpredictable results.'''
  
 +
You can add many many carriage returns, but it is easier to add as many <nowiki><br></nowiki> as you need as has been done in the construction of this page. The number of <nowiki><br></nowiki> you need is dictated by the size of the picture.
  
 +
'''N.B.''' If the image has no "built in" border you need to use |''thumb''| not |''frame''| as you cannot control the size of the image with |''frame''|. Unless you want a caption, you are better off making a frame on your image before uploading it.
  
 +
'''It is easier to take control over the layout of page by using extra code such as in a ''TABLE'' or ''GALLERY''.'''
  
  
=====5. To get a frame '''and''' have a caption for the picture=====
+
'''[[Using Multiple Images]]'''
 
 
<nowiki>[[image:name of image.jpg|alignment|size|thumb|caption]]</nowiki>
 
 
 
[[image:InitialsA.jpg|right|250px|thumb|Work in progress]]
 
 
 
 
 
 
 
  
 +
'''[[Mixing Text and Images]]'''
  
 +
'''[[Using Images as Hyperlinks]]'''
  
 +
'''[[Working With Tables]]'''
  
  
 +
==Adding images from Photobucket or other websites==
  
 +
When using a single picture hosted on another website, you just need to copy the URL of the picture.
  
 +
You do not need to add any other code unless you wish to specify where on the page you wish the picture to appear.
  
 +
For using multiple images hosted outside the The Wiki please see '''[[Using Multiple Images]].'''
  
  
 +
====From Photobucket====
  
 +
To get the link from pictures hosted on '''[http://photobucket.com Photobucket]''' select the '''Direct Link''':
  
  
 +
[[Image:UserPage3.jpg]]
  
  
 +
=====ACTUAL CODE=====
  
 +
<nowiki>http://i107.photobucket.com/albums/m306/caroline_lewcock/figaro1.jpg</nowiki><br>
  
  
 +
=====THE RESULT=====
  
 +
http://i107.photobucket.com/albums/m306/caroline_lewcock/figaro1.jpg
  
'''WARNING: As soon as you add ''frame'' or ''thumb'', combining pictures and text can give very unpredictable results.'''
 
  
'''It is easier to take control over the layout of page by using extra code such as in a ''TABLE'' or ''GALLERY''.'''
+
====Other websites====
  
 +
[[image:copyrem.jpg]]
  
==Adding images from Photobucket or other websites==
 
  
 +
'''This picture is linked directly from the October issue of the FTF Online magazine:'''
  
'''This picture has been uploaded to Photobucket ''' http://i107.photobucket.com/albums/m306/caroline_lewcock/a0eb401.gif
 
  
<nowiki> http://i107.photobucket.com/albums/m306/caroline_lewcock/a0eb401.gif</nowiki>
+
=====ACTUAL CODE=====
  
 +
<nowiki> http://www.lewcock.net/images/FTForum/granny4.jpg</nowiki><br>
  
[[Image:UserPage3.jpg]]
 
  
 +
=====THE RESULT=====
  
If you want to have a  picture in a particular place, you need to add code.
+
http://www.lewcock.net/images/FTForum/granny4.jpg
  
  
==Aligning single pictures==
+
==Alternative method of aligning single pictures==
  
  
Line 160: Line 204:
  
  
==Putting pictures in a row==
+
==Using more than one image with or without text==
  
  
xxxxxxxxxxxxxxxxxxxxxxxxxx
+
*''' [[Using Multiple Images]]'''
 +
 
 +
*''' [[Mixing Text and Images]]'''
 +
 
 +
*''' [[Using Images as Hyperlinks]]'''
 +
 
 +
*''' [[Working With Tables]]'''
  
  
 
==Other Help Pages==
 
==Other Help Pages==
 +
 +
[[image:minibad.jpg]] '''[[:Category:Help|The Wiki Guide]]'''

Latest revision as of 09:32, 23 April 2008


Helpimage.jpg


To use images on pages in The Wiki, you have two options.

It is possible to link to them from sites like Photobucket or your own website but you need to remember not to move or delete those pictures. It is safer to upload them directly to The Wiki although there are limitations on type and size.

Linking to pictures on an external site gives you the opportunity to add animations, larger pictures or other file types.

Both methods give you the opportunity to create clickable pictures, mix them with text and other images but the coding is more complex using images from external sites.


This picture has been uploaded to The Wiki Index fr2.jpg

This picture has been uploaded to Photobucket a0eb401.gif

This page deals with using single images.

If you wish to know more about using them in other ways, please consult Using Multiple Images.


To display images you should ensure that there are two line spaces BEFORE the image code and two spaces AFTER the code.


Ruleimage.jpg


Uploading pictures to The Wiki

You can only upload .jpg (.JPEG) files and they must be no larger then 150kb.


Step by Step instructions can be found on Uploading Images to The Wiki


Code for images

To align, dictate the size, give them a frame and/or caption for your images, the code is built up as follows:

[[name.jpg | alignment | size | thumb ''or'' frame | caption]]


N.B. If you do not see the | character on your keyboard, you can obtain it by holding down the ALT key and simultaneously typing 124 on the numeric keypad. The character will appear when you release the ALT key.


One single image

1. You can just put in the image

It will come out full size and aligned to the left with no border or caption: [[image:NAME OF IMAGE.jpg]]

ACTUAL CODE: [[image:Building3.jpg]]

GIVES:

Building3.jpg


2. You can choose horizontal alignment - right, left or center

[[image:NAME OF IMAGE.jpg|alignment]]

ACTUAL CODE: [[image:Building3.jpg|center]]

GIVES:

Building3.jpg


3. You can choose the size

[[image:NAME OF IMAGE.jpg|size]]

ACTUAL CODE: [[Building3.jpg|50px]]

GIVES:

Building3.jpg


4. To get a frame round your picture

[[image:NAME OF IMAGE.jpg|alignment|size|thumb]]

ACTUAL CODE: [[image:Building3.jpg|left|200px|thumb]]

GIVES:

Building3.jpg














5. To get a frame and have a caption for the picture

[[image:NAME OF IMAGE.jpg|alignment|size|thumb|caption]]

ACTUAL CODE: [[image:Building3.jpg|left|200px|thumb|Work in progress]]

GIVES:

Work in progress














6. Using frame instead of thumb

N.B. Using frame gives a neater display, but as you can see from this example, if you use frame instead of thumb, the image displays at full size even if you have changed the size.

[[image:NAME OF IMAGE.jpg|alignment|size|frame|caption]]

ACTUAL CODE: [[image:Building3.jpg|left|10px|frame|Work in progress]]

GIVES:

Work in progress
















WARNING: As soon as you add frame or thumb, combining pictures and text can give very unpredictable results.

You can add many many carriage returns, but it is easier to add as many <br> as you need as has been done in the construction of this page. The number of <br> you need is dictated by the size of the picture.

N.B. If the image has no "built in" border you need to use |thumb| not |frame| as you cannot control the size of the image with |frame|. Unless you want a caption, you are better off making a frame on your image before uploading it.

It is easier to take control over the layout of page by using extra code such as in a TABLE or GALLERY.


Using Multiple Images

Mixing Text and Images

Using Images as Hyperlinks

Working With Tables


Adding images from Photobucket or other websites

When using a single picture hosted on another website, you just need to copy the URL of the picture.

You do not need to add any other code unless you wish to specify where on the page you wish the picture to appear.

For using multiple images hosted outside the The Wiki please see Using Multiple Images.


From Photobucket

To get the link from pictures hosted on Photobucket select the Direct Link:


UserPage3.jpg


ACTUAL CODE

http://i107.photobucket.com/albums/m306/caroline_lewcock/figaro1.jpg


THE RESULT

figaro1.jpg


Other websites

Copyrem.jpg


This picture is linked directly from the October issue of the FTF Online magazine:


ACTUAL CODE

http://www.lewcock.net/images/FTForum/granny4.jpg


THE RESULT

granny4.jpg


Alternative method of aligning single pictures

Left Aligned

a0eb401.gif
<div align="left">http://i107.photobucket.com/albums/m306/caroline_lewcock/a0eb401.gif </div>


Centred

a0eb401.gif
<div align="center">http://i107.photobucket.com/albums/m306/caroline_lewcock/a0eb401.gif </div>


Right Aligned

a0eb401.gif
<div align="right">http://i107.photobucket.com/albums/m306/caroline_lewcock/a0eb401.gif </div>


Using more than one image with or without text


Other Help Pages

Minibad.jpg The Wiki Guide