Help:Wiki questions

From OpenWetWare
Jump to navigationJump to search

< Back to the help page.

This is a question and answer forum for wiki-related help. Please ask editing-related questions here.

Uploading pdfs

Question

  • RS 13:10, 19 March 2006 (EST): I tried several times to upload this pdf to OpenWetWare but every time it gave me the following error message "The file you uploaded seems to be empty. This might be due to a typo in the file name. Please check whether you really want to upload this file." I've tried resaving the file using Adobe Acrobat and Preview as well as remaking the file by printing to pdf from Microsoft Powerpoint but nothing works. I was able to successfully upload another pdf file just fine. A quick google search reveals that you can get this message if you are approaching the maximum file size or the maximum http request size (see Mediawiki on uploading file). (My file size is 2 MB.) Anyone have a good solution to this?

Answer

Image links

Question

  • Nikolai.windbichler 05:05, 10 March 2006 (EST): I have this small problem: On this site I want the image to link to the .doc file which can be found when clicking on the link above the image. How would I do that? I searched a little bit through oww and wiki help sites but couldn't get ot done. If you have any ideas please let me know.

Answer

  • RS 09:22, 10 March 2006 (EST): Have you tried looking at the code for the Main Page? The icons under the OWW logo do something similar. It looks something like this {{Click || image=MainPage LookChange.jpg | link=Highlights:Considering_a_new_look | width=50px | height=50px }}. By replacing the link= field with your link, I assume you would get what you want. Hope this helps.
    • Nikolai.windbichler 17:25, 10 March 2006 (EST): Thank you. It is very close to what I want but now not the whole area of the image links to the file but only the left half of it. I'm not sure why that is tough. Well 50% is not bad when you start at 0. ;)