Difference between revisions of "Mixing Text and Images"

From the Family Tree Forum Reference Library
m
m
Line 9: Line 9:
 
|Adding pictures and text vertically down the page is not a problem, but if you want your text to wrap around one or more pictures, then you need to add special codes to the pictures.  
 
|Adding pictures and text vertically down the page is not a problem, but if you want your text to wrap around one or more pictures, then you need to add special codes to the pictures.  
  
For more information, see '''[[Adding Content to The Wiki ~ Working With Images]]'''
+
For more information, see '''[[Working With Images]]'''
  
 
You need to put the code in for the picture first, then all your text.  
 
You need to put the code in for the picture first, then all your text.  
Line 79: Line 79:
  
  
==Help Pages for The Wiki==
 
  
====Adding content====
+
==Other Help Pages==
  
* [[Help:Notes for Users|Help for Users]] being rewritten
+
[[image:minibad.jpg]] '''[[:Category:Help|The Wiki Guide]]'''
 
 
* [[Help:Notes for Editors|Help for Editors]] being rewritten
 
 
 
* [[Authoring|Formatting Text]]
 
 
 
* [[Style and Presentation in The Wiki]]
 
 
 
* [[Working With Tables]]
 
 
 
* [[Adding Content to The Wiki ~ New Pages]]
 
 
 
* [[Adding Content to The Wiki ~ Images and Tables]]
 
 
 
* [[Adding Content to The Wiki ~ Images and Tables 2]]
 
 
 
* [[Adding Content to The Wiki ~ Mixing Text and Images]]
 
 
 
 
 
====Visual Reference====
 
 
 
* [[Navigating the Wiki|Navigating The Wiki]]
 
 
 
* [[Searching the Wiki|Searching The Wiki]]
 
 
 
* [[Help:Hyperlink Code|Coding a Hyperlink for The Wiki]]
 
 
 
* [[Uploading images to The Wiki]]
 
 
 
* [[Editing Your User Page]]
 
 
 
* [[Surname Help|Adding Surnames to The Surname Directory]]
 
 
 
* [[County model|Template for County Pages]]
 
 
 
* [[Examples of useful code|Miscellaneous Code]]
 
 
 
 
 
*[[Main Page]]
 

Revision as of 13:58, 16 April 2008


Page being edited by Caroline
Adding pictures and text vertically down the page is not a problem, but if you want your text to wrap around one or more pictures, then you need to add special codes to the pictures.

For more information, see Working With Images

You need to put the code in for the picture first, then all your text.

The picture will align to the left by default.

This method is rather unpredictable, especially if you need the list of Contents (TOC) to show and/or captions underneath either or both of the pictures as this can cause problems with getting the line spacing correct for every viewer.

A more controlled layout can be achieved by using tables: Working With Tables

Adding one picture

Left align

TYPE: [[Image:Documents_fr2.jpg|left|150px|]]

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.

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.


RESULT:

Basic1.jpg


Right align

TYPE: [[Image:Documents_fr2.jpg|right|200px|]]

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.

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.


RESULT:

Basic2.jpg


Right align with caption

TYPE: [[Image:Documents_fr2.jpg|right|200px|thumb|Caption]]

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.

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.


Basic3.jpg


N.B. If the image has no "built in" border you need to use |thumb| not |frame| as you cannot cotrol 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.


Two pictures

TYPE: [[Image:Documents_fr2.jpg|left|200px|thumb|Caption]]

TYPE: [[image:building3.jpg|right|200px|thumb|Caption]]

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.

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.


Basic4.jpg


Other Help Pages

Minibad.jpg The Wiki Guide