Page 1 of 1

No image uploading in Elmer Wiki

Posted: 15 Sep 2010, 17:49
by petroo
Hello @all,

I'd love to contribute some additional texts and images to the Elmer Wiki. The text works well, but it does not seem possible to upload any new images. According to the error message, the server does not have write access to a directory relevant for the upload and integration process.

Regards,

Peter

Re: No image uploading in Elmer Wiki

Posted: 16 Sep 2010, 11:17
by raback
Hi Peter

In what format are you trying to upload the figures. At least .png pictures should be ok since there are the Salome intructions that work include some figures. Additionally .jpg format was just added by mal. Also the right to write on the disk should be ok. There is no automatic resizing of the figures (ImageMagick is not installed) so one should size the figures to the desired resolution in advance.

-Peter

Re: No image uploading in Elmer Wiki

Posted: 16 Sep 2010, 15:46
by petroo
Hi Peter,
In what format are you trying to upload the figures. At least .png pictures should be ok since there are the Salome intructions that work include some figures. Additionally .jpg format was just added by mal.
Hmm - sorry, but the image I wanted to upload is a new PNG. I tried JPG also some days ago, but that may not have been possible then, as you just stated.
Also the right to write on the disk should be ok. There is no automatic resizing of the figures (ImageMagick is not installed) so one should size the figures to the desired resolution in advance.
Hmmm again - since my image is a new one (sized approx. 56 kB) that should not matter. And the error message does not point in this direction either:

On main part of the page:
Internal error: Could not create directory "public/4/44"

Written in the top left corner, interfering with the normal page layout (i.e. appearently written before the general page layout is produced by the php framework):
Warning: mkdir() [function.mkdir]: Permission denied in /home/np29546/domains/elmerfem.org/public_html/wiki/includes/GlobalFunctions.php on line 2012

I'd say there are some permission set wrongly in a temporary directory used for image integration.

Regards,

Peter

Re: No image uploading in Elmer Wiki

Posted: 16 Sep 2010, 19:46
by mal
Hi Peters,
petroo wrote:The text works well, but it does not seem possible to upload any new images.
Confirmed.
We will try to fix the problem asap (the problem is more subtle than just a permission issue).
I'll let you know when it is done.
Thanks.
ML

Re: No image uploading in Elmer Wiki

Posted: 17 Sep 2010, 08:48
by mal
Hi,
Uploading images should work now.
ML

Re: No image uploading in Elmer Wiki

Posted: 17 Sep 2010, 10:28
by petroo
Hi Mal,

yes, uploading now worked. ;)

But on the page that I modified (http://www.elmerfem.org/wiki/index.php/ ... mputations) an older image that I did not touch in my editing now seems dysfunct ("File:Parallelconcept.jpg"). I just tried to adapt the syntax for it, comparing it to my correctly displayed new uploaded image, but it would not revert to being displayed again. Maybe you can take a short look on that?

Kind regards,

Peter

Re: No image uploading in Elmer Wiki

Posted: 17 Sep 2010, 13:12
by mal
Hello Peter,
The old images & attachments should be restored now.
Regards,
ML