Editing vector drawings

A link looking like drawing:picturename will allow you to interactively edit vector diagrams via the built-in Java applet. The applet will then store three attachments, "picturename.draw", "picturename.png" and "picturename.map". After you first saved a drawing, the generated PNG picture is displayed for the drawing: link. The MAP is used to activate parts of the image as links. This means that you only need Java enabled for editing, while displaying the results works with any browser.

To edit a drawing after the first save, click on AttachFile and use the [edit] link that is displayed instead of [view] for the .draw attachment. You can also click on the invisible 5 pixel border around the picture to reach the edit mode. Saving a drawing is reflected in RecentChanges.

Note: the applet is not WikiName sensitive. You need to supply actual (either relative or absolute) URLs as links.

Note: drawings containing non-ascii characters in their name are not supported currently.

Installing packages

Unzipping files

To get access to the unzip feature you need the following rights on the page:

read

write

delete

e.g.

#acl UserName:admin,read,write,delete All:read

We implemented some protection for the server against abuse of this feature. Zip files in a Zip file are dropped by unzipping them. By definition of the configuration option unzip_attachments_space, only this total amount of bytes can be used to unzip files. If there are already files in the directory, the amount of them are subtracted from this number. The size of a single file in the archive which will be extracted can be limited using the configuration option unzip_single_file_size.

The rules for unzipping are implemented in the same way as for uploading one file. It is not allowed to overwrite an existing file by unzipping a file.

By unzipping a zip file only files from the first layer are unzipped. Files in directories are ignored.

A valid zip file could be created this way:

zip example.zip *.jpg

Uploading a zip file

After you have uploaded a zip file, you can see the unzip link.

No rights to unzip

If you have not enough rights, you only see the usual dialogue.

Not enough free space free

If the resulting unpacked files exceed the limit of filespace for attachments, you get this warning.