Differences from version 1 to 7



@@ -1,3 +1,32 @@

-this is a stub.
+! Plugin: Attachment
+First, go to the __tab "attachment"__ and choose the file to upload. Then you have to refresh the edit page by clicking ''save'' on the main tab (choose "minor save" during that in order not to generate an extra version). If the file is large it can take some time. You'll be taken to the view of the wiki page you were editing. Now you need to enter "edit page" again. Now below the page edit area there's some info you need: the attachment ID and the attachment URL (seen when hovering the mouse over the thumbnail as the target URL, not the image url) and you are ready to add the attachment to the page. There can be __different strategies__ for that:
 
-use the { attachment } plugin. help is available at the bottom of the wiki edit page for now...
+# you can use { attachment id=XXX} (might be taken from the attachment tab-attachment browser-insert)
+# you can add a link using ))[ link|description ](( syntax
+# you can add image (if your attachment is an image) using { img} tag
+
+* You can use the [float]=left|right attribute to align the attachement and make the text float around it.
+* If the floating text is too close to the attachment, add 'padding=20px'
+
+{code title="input code for the examples above"}
+ 1. { attachment id=224 float=left}
+
+ 2. <a href="http://www.bitweaver.org/storage/users/442/442/images/224/logo.png">link to the attached image</a>
+
+ 3. { img
+ src="http://www.bitweaver.org/storage/users/442/442/images/224/logo.png"
+ margin="0 1em"
+ padding="10px 20px"
+ background="#f60"
+ text-align="center"
+ color="#fff"
+ desc="attached"
+ border="3px solid #000"
+ font="bold small-caps 160%/160% fantasy"
+ link="http://bitweaver.org"
+ width="48px"}
+
+{/code}
+
+---
+++yellow: Please keep in mind that in the examples a space is added after the curly bracket to prevent the tag from being parsed (on this page). In actual use, that additional space must be removed.++
Page History
Date/CommentUserIPVersion
30 Jun 2008 (10:39 UTC)
Kozuch85.207.244.1607
Current • Source
hiran85.233.40.1924
View • Compare • Difference • Source
laetzer217.83.93.2113
View • Compare • Difference • Source
xing194.152.164.451
View • Compare • Difference • Source