Instiki
File Uploads

The following instructions are for the latest version in Subversion and NOT for the current release version.

[[file name here.jpg:pic]] The file name is what instiki will call the file and hand it out to browsers as so be sure it has the appropriate file extenstion .jpg, .gif, .png, etc..

then you’ll see: file name here.jpg?
on the resulting page.
Click the question mark to go to the file upload page.
Choose the file.

Similarly you can do

[[file name here.pdf:file]] (not limited to pdfs)

and it will do the same thing except that after uploading you will have a link made from the “link text here” that links to the file for download.


Is there a way to use the ! image_name.jpg ! syntax with this?

—Sure.

Also this doesn’t quite seem like the system that Thomas Rynne and I thought up on File Uploads Version One and then the subsequent File Uploads Patch?. I’m not following why the :file and :pic marker is required?

—Because they generate different markup (an <a> versus an <img> element).

Why is it you can’t just tell from a default set of extensions like .jpg, .pdf, etc what type it is, and only need to type annotate when your unsure of the type of the file? Also, how does one re-access the file upload page if the picture or binary needs to be changed?—Charles Comstock

—Delete the old file (using one of the two methods below), and then upload a new one.

Is this similar in functionality to the File Uploads Patch?? Does it treat the files as pages? I had added a note to one of these File Uploads pages (now mysteriously absent) that I really like how Thomas Rynne modeled file uploads as just another page and would appreciate it if we can keep that kind of model.

—That is an unacceptable security risk.

Additional administrative tools would be helpful, though. —Drew

—See here and here .

Also just to add, – and i am sure this is comming ;) – but the media uploaded needs to be scaled etc to fit on the page, perhaps manually editable i.e. %of page width, text flow etc. Also clicking such an image would give a full size view of the image. I have tested it and there seems little use for the feature if I have to create specific images just for the wiki when it can be done with code on the server end, esp with detailed diagrams….. —johnevans

Seems to work well, but the uploaded files show up as Wanted Pages in All Pages. —ludo

QUESTION:
I previously used instiki with the original file upload patch. Because of some problems I lost my patch file and had to re-install Instiki, now, my “storage” data will not load because of the missing patch, which by the way, is not downloadable from the original place.
So, Is the new file upload version of Insitki compatible with the old file patch with Instiki-0.9.2???
—gcavazos