Difference between revisions of "Working With Images"
m |
m |
||
Line 85: | Line 85: | ||
[[image:Building3.jpg|left|200px|thumb]] | [[image:Building3.jpg|left|200px|thumb]] | ||
− | <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>< | + | <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===== | =====5. To get a frame '''and''' have a caption for the picture===== | ||
Line 91: | Line 91: | ||
<nowiki>[[image:NAME OF IMAGE.jpg|alignment|size|thumb|caption]]</nowiki> | <nowiki>[[image:NAME OF IMAGE.jpg|alignment|size|thumb|caption]]</nowiki> | ||
− | '''ACTUAL CODE:''' <nowiki>[[image:Building3.jpg|left| | + | '''ACTUAL CODE:''' <nowiki>[[image:Building3.jpg|left|200px|thumb|Work in progress]]</nowiki> |
'''GIVES:''' | '''GIVES:''' | ||
− | [[image:Building3.jpg|left| | + | [[image:Building3.jpg|left|200px|thumb|Work in progress]] |
− | <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>< | + | <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><br><BR><BR> |
=====6. Using frame instead of thumb===== | =====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> | <nowiki>[[image:NAME OF IMAGE.jpg|alignment|size|frame|caption]]</nowiki> | ||
− | '''ACTUAL CODE:''' <nowiki>[[image:Building3.jpg|left| | + | '''ACTUAL CODE:''' <nowiki>[[image:Building3.jpg|left|10px|frame|Work in progress]]</nowiki> |
'''GIVES:''' | '''GIVES:''' | ||
− | [[image:Building3.jpg|left| | + | [[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.''' | '''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. | ||
'''It is easier to take control over the layout of page by using extra code such as in a ''TABLE'' or ''GALLERY''.''' | '''It is easier to take control over the layout of page by using extra code such as in a ''TABLE'' or ''GALLERY''.''' | ||
+ | |||
+ | |||
+ | [[PAGE TO BE MADE]] | ||
Revision as of 10:21, 4 April 2008
Contents
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. External sites give 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 othe images but the coding is more complex using images from external sites.
This picture has been uploaded to The Wiki
This picture has been uploaded to Photobucket
This page deals with using single images. If you wish to know more about using them in other ways, please consult:
Uploading pictures to The Wiki
You can only upload .jpg (.JPEG) files and they cannot be larger then 150kb.
Step by Step instructions can be found on Uploading images to The Wiki
Code for images
One single image
name | alignment | size | thumb or frame | caption
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:
2. You can choose horizontal alignment - right, left or center
[[image:NAME OF IMAGE.jpg|alignment]]
ACTUAL CODE: [[image:Building3.jpg|center]]
GIVES:
3. You can choose the size
[[image:NAME OF IMAGE.jpg|size]]
ACTUAL CODE: [[Building3.jpg|50px]]
GIVES:
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:
[[image:NAME OF IMAGE.jpg|alignment|size|thumb|caption]]
ACTUAL CODE: [[image:Building3.jpg|left|200px|thumb|Work in progress]]
GIVES:
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:
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
</nowiki> as you need as has been done in the construction of this page. The number of <nowiki
</nowiki> you need is dictated by the size of the picture.
It is easier to take control over the layout of page by using extra code such as in a TABLE or GALLERY.
Adding images from Photobucket or other websites
If you want to have a picture in a particular place, you need to add code.
Aligning single pictures
Left Aligned
<div align="left">http://i107.photobucket.com/albums/m306/caroline_lewcock/a0eb401.gif </div>
Centred
<div align="center">http://i107.photobucket.com/albums/m306/caroline_lewcock/a0eb401.gif </div>
Right Aligned
<div align="right">http://i107.photobucket.com/albums/m306/caroline_lewcock/a0eb401.gif </div>
Putting pictures in a row
xxxxxxxxxxxxxxxxxxxxxxxxxx