]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FImages
function _PageList_Column* are not private
[SourceForge/phpwiki.git] / pgsrc / Help%2FImages
1 Date: Tue,  7 Jun 2011 16:26:00 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0)
3 Content-Type: application/x-phpwiki;
4   pagename=Help%2FImages;
5   flags=PAGE_LOCKED%2CEXTERNAL_PAGE;
6   markup=2;
7   charset=UTF-8
8 Content-Transfer-Encoding: binary
9
10 You can easily **use images in the wiki**.
11
12 == Uploaded images ==
13
14 First, image files need to be uploaded in the wiki. For that purpose, you will use the
15 [[Help:UpLoadPlugin|UpLoad]] plugin.
16
17 === Toolbar ===
18
19 Once the image is uploaded, the easiest way to insert it is to use the toolbar.
20
21 Click on the {{/themes/default/images/ed_image.png}} icon and you will be shown a list
22 of available images.
23
24 Select an image and click //Insert//. The image will be inserted without options or alternative text.
25
26 === Syntax ===
27
28 You give access to the uploaded image with the following syntax.
29
30 {{{
31 {{myimage.png}}
32 }}}
33 or
34 {{{
35 [[Upload:myimage.png]]
36 }}}
37 will inline the image.
38
39 {{{
40 {{myimage.png|this is the alt text for my image}}
41 }}}
42 inlines the image with an alternative text.
43
44 {{{
45 [[some link|{{myimage.png}}]]
46 }}}
47 if you click on the image, will goto "some link"
48
49 {{{
50 [[some link|{{myimage.png|alt text}}]]
51 }}}
52 same with alternative
53
54 {{{
55 [[http://example.com/|{{myimage.png}}]]
56 }}}
57 same as above: picture links to url
58
59 {{{
60 [[http://example.com/|{{myimage.png|alt text}}]]
61 }}}
62 same with alternative
63
64 {{{
65 Upload:myimage.png
66 }}}
67 shows a plain link
68
69 {{{
70 [[Upload:myimage.png | my image]]
71 }}}
72 shows the image under a link named "my image".
73
74 For Mediawiki compatibility, the keyword {{{Upload:}}} can be replaced by {{{File:}}} or {{{Image:}}}.
75
76 === Options ===
77
78 Using the {{{Upload:}}} syntax, options are allowed to change the appearance:
79 {{{
80 [[Upload:myimage.png size=40x25 align=center]]
81 }}}
82
83 Separate options by spaces. The allowed options are the following:
84 * size: ''width "x" height'' or ''num + "%"''
85 * align: ''string''
86 * border: ''number''
87 * hspace: ''number''
88 * vspace: ''number''
89
90 == URL images ==
91
92 You can also use "external" images by providing a URL.
93
94 In that case, you simply put the URL between double brackets or double curly brackets:
95 {{{
96 [[http://phpwiki.svn.sourceforge.net/viewvc/phpwiki/trunk/themes/default/images/poweredby_phpwiki_51x31.png]]
97 }}}
98 or
99 {{{
100 {{http://phpwiki.svn.sourceforge.net/viewvc/phpwiki/trunk/themes/default/images/poweredby_phpwiki_51x31.png}}
101 }}}
102 will give:
103
104 [[http://phpwiki.svn.sourceforge.net/viewvc/phpwiki/trunk/themes/default/images/poweredby_phpwiki_51x31.png]]
105
106 == See Also ==
107 * [[Help:Adobe Flash]]
108 * [[Help:VideoPlugin]]
109 * [[Help:Wikicreole]]
110
111 <noinclude>
112 ----
113 [[PhpWikiDocumentation]]
114 </noinclude>