FrontPage 

TB Wiki

Login

Regression Test

Expected HTML for page "DocImages"


expected html
nothing
t1<h1><a name="Introduction">Introduction</a>t
2<span align=right class="section_edit_link">[<a href="/tbwiki/DocImages?action=edit&section=Introduction">edit section</a>]</font></span>
3</h1>
4One type of item that can be placed on a tbwiki page is an image.
5<p>
6Images can be loaded either from external sources, or from the
7'files' directory of the current wiki.
8<p>
9<h1><a name="Inline_images,_from_'files'_directory">Inline images, from 'files' directory</a>
10<span align=right class="section_edit_link">[<a href="/tbwiki/DocImages?action=edit&section=Inline_images,_from_'files'_directory">edit section</a>]</font></span>
11</h1>
12<p>
13Specify an image from this wiki's 'files' directory.
14<p>
15Example link syntax:
16<pre>
17Here is a bird: [[image:bird-image.jpg]]
18</pre>
19<p>
20Result:
21<p>
22Here is a bird: <img src="/tbw-files/bird-image.jpg" >
23<p>
24<h2><a name="specifying_image_attributes">specifying image attributes</a>
25<span align=right class="section_edit_link">[<a href="/tbwiki/DocImages?action=edit&section=specifying_image_attributes">edit section</a>]</font></span>
26</h2>
27You can set the height, width and alt_text for an image, by adding an
28image attribute tag in the image link.  Multiple tags can be specified,
29separated by a space.
30<p>
31Specify an image height of 30 pixels:
32<pre>
33[[image:bird-image.jpg|height="30"]]
34</pre>
35<p>
36Result:
37<img src="/tbw-files/bird-image.jpg" height="30">
38<p>
39<hr size=2>
40Specify an image width of 100 pixels:
41<pre>
42[[image:bird-image.jpg|width="100"]]
43</pre>
44<p>
45Result:
46<img src="/tbw-files/bird-image.jpg" width="100">
47<p>
48<hr size=2>
49Specify a width, and alternate text for the image.
50<p>
51<pre>
52[[image:bird-image.jpg|width="64" alt="picture of bird"]]
53</pre>
54<p>
55Result:
56<img src="/tbw-files/bird-image.jpg" width="64" alt="picture of bird">
57<p>
58<hr size=2>
59FIXTHIS - should support captions
60<p>
61<h1><a name="Inline_images,_from_external_sources">Inline images, from external sources</a>
62<span align=right class="section_edit_link">[<a href="/tbwiki/DocImages?action=edit&section=Inline_images,_from_external_sources">edit section</a>]</font></span>
63</h1>
64<p>
65This link shows a reference to a (potentially) different web site,
66using a fully-qualified URL for the image on that site.
67<p>
68Syntax:
69<pre>
70[[image:https://bird.org/tbw-files/alert.png]]
71</pre>
72<p>
73Result:
74<img src="https://bird.org/tbw-files/alert.png" >
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op

Differences for page "DocImages"


expected html
generated html
t No Differences Found t No Differences Found 
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op

Update saved output

Back to diff page

Return to Regression_Test page
TBWiki engine 1.9.3 by Tim Bird