Difference between revisions of "Mixing Text and Images"

From the Family Tree Forum Reference Library
m
m
Line 4: Line 4:
  
 
==Basic code==
 
==Basic code==
 +
 +
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. See '''[[Adding Content to The Wiki ~ Working With Images]]'''
 +
 +
 +
'''TYPE:''' <nowiki>[[Image:Documents_fr2.jpg|left|150px|]]</nowiki>
 +
 +
 +
[[image:basic1.jpg|center]]
 +
 +
 +
'''TYPE:''' <nowiki>[[Image:Documents_fr2.jpg|right|200px|]]</nowiki>
 +
 +
 +
[[image:basic2.jpg|center]]
 +
 +
 +
'''TYPE:''' <nowiki>[[Image:Documents_fr2.jpg|right|200px|thumb|Caption]]</nowiki>
 +
 +
[[image:basic3.jpg|center]]
 +
  
 
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.
 
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.
Line 24: Line 44:
  
  
A more satisfacory layout can be achieved by using tables: [[Working With Tables]]
+
'''A more satisfactory layout can be achieved by using tables: [[Working With Tables]]'''
  
  

Revision as of 08:09, 11 April 2008

Page being edited by Caroline


Basic code

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. See Adding Content to The Wiki ~ Working With Images


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


Basic1.jpg


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


Basic2.jpg


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

Basic3.jpg


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.


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|.

This causes problems with getting the line spacing correct for every viewer.


See Adding Content to The Wiki ~ Images and Tables for explanation of codes for images.


Documents fr2.jpg
Building3.jpg

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.


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


Help Pages for The Wiki

Adding content


Visual Reference