<
From version < 6.7 >
edited by Silvia Macovei
on 2009/09/25
To version < 7.1 >
edited by Silvia Macovei
on 2009/10/07
>
Change comment: Document converted from syntax xwiki/1.0 to syntax xwiki/2.0

Summary

Details

Page properties
Syntax
... ... @@ -1,1 +1,1 @@
1 -XWiki 1.0
1 +XWiki 2.0
Content
... ... @@ -1,57 +1,57 @@
1 +{{velocity filter="none"}}
2 +{{html clean="false" wiki="true"}}
1 1  #startfloatingbox()
2 -*Contents*
3 -#toc ("2" "3" "")
4 +**Contents**
5 +
6 +{{toc start="2" depth="3" numbered=""/}}
4 4  #endfloatingbox()
8 +{{/html}}
9 +{{/velocity}}
5 5  
6 -1 Attachments
11 += Attachments =
7 7  
8 8  A page can contain attachments which can then later be referenced from within a page. For example this is very useful for attaching images and displaying them in the page's content.
9 9  
10 -1.1 Attaching a file
15 +== Attaching a file ==
11 11  
12 -There are 3 possibilities to attach a file using the default [Albatross skin>Features.Skins]:
17 +There are 3 possibilities to attach a file using the default [[Albatross skin>>Features.Skins]]:
13 13  
14 -1.1.1 Using the top level menu
19 +=== Using the top level menu ===
15 15  
16 16  View the page on which you wish to attach a file and then select the "Show > Attachment" option in the top level menu:
17 17  
18 -{image:attachment-menu.png}
23 +image:attachment-menu.png
19 19  
20 20  You'll see a list of the current attachments and a possibility to upload more files:
21 21  
22 -{image:attachment-bottom.png}
27 +image:attachment-bottom.png
23 23  
24 -1.1.1 Using the attachment panel at the bottom of the page
29 +=== Using the attachment panel at the bottom of the page ===
25 25  
26 26  View the page on which you wish to attach a file and then click on "Attachments" at the bottom of the page. That'll open the attachment panel:
27 27  
28 -{image:attachment-bottom.png}
33 +image:attachment-bottom.png
29 29  
30 -1.1.1 Using the WYSIWYG editor
35 +=== Using the WYSIWYG editor ===
31 31  
32 32  Edit the page on which you wish to attach a file using the WYSIWYG editor and click on the "Insert an Attachment Link" icon in the toolbar. You can also click on "Insert/edit image" and you'll get a similar popup windows as shown below:
33 33  
34 -{image:attachment-wysiwyg-file.png}
39 +image:attachment-wysiwyg-file.png
35 35  
36 36  Note that you can create a link to the attachment/image directly in that same popup window.
37 37  
38 -1.1 Linking to an attached file/image
43 +== Linking to an attached file/image ==
39 39  
40 -If you're using the Wiki editor, you can use the [Image macro>code:Macros.ImageMacro] to display an image inline. If you simply wish to link to an attachment, use the [Attach macro>code:Macros.AttachMacro].
45 +If you're using the Wiki editor, you can use the [[Image macro>>code:Macros.ImageMacro]] to display an image inline. If you simply wish to link to an attachment, use the [[Attach macro>>code:Macros.AttachMacro]].
41 41  
42 42  If you're using the WYSIWYG editor, then use the "Insert an Attachment link" or "Insert/edit image" buttons as shown above.
43 43  
44 -1.1 Linking to an external file/image
49 +== Linking to an external file/image ==
45 45  
46 46  If your file is on a remote server and you wish to link to it from your wiki, simply use the URL of the link as the content of your wiki link. For example, using the wiki editor you'd write:
47 47  
48 -{code:xml}
49 -[http://some_remote_server/path/to/file>text to display]
50 -{code}
53 +{{code language="xml"}}[http://some_remote_server/path/to/file>text to display]{{/code}}
51 51  
52 52  For displaying an image located on a remote server, use the following HTML code snippet:
53 53  
54 -{code:xml}
55 -<img src="http://some_remote_server/path/to/image"/>
56 -{code}
57 -
57 +{{code language="xml"}}<img src="http://some_remote_server/path/to/image"/>{{/code}}
XWiki.XWikiComments[1]
Comment
... ... @@ -1,1 +1,1 @@
1 -Is the 10MB maximum attachment size only apply to HSQLDB install? It is quite difficult to convince the boss to use xwiki for "enterprise" work when his 25MB PowerPoint file is not attachable.
1 +Is the 10MB maximum attachment size only apply to HSQLDB install? It is quite difficult to convince the boss to use xwiki for "enterprise" work when his 25MB PowerPoint file is not attachable.

Get Connected