Re: [geeklog-users] Trouble with spaces in usernames when uploading userphotos

2004-01-15 Thread mandoline mandom
Thanks very much Dirk ! it can confirm that it's working with NetPBM Regards, Per For NetPBM, it's line 490 and should read $cmd_end = " '" . $filename . "' | " . $this->_pathToNetPBM . 'pnmscale -xsize=' . $newwidth . ' -ysize=' . $newheight . ' | ' . $this- >_pathToNetPBM; Disclaimer: I

Re: [geeklog-users] Trouble with spaces in usernames when uploading userphotos

2004-01-12 Thread Dirk Haun
Per, >Maybe a fix in upload.class.php ? possibly by adding a couple of " ' " for >the path ? You're on the right track :-) For ImageMagick, change line 469 so that it reads $cmd = $this->_pathToMogrify . ' -resize '. $newsize . " '" . $this- >_fileUploadDirectory . '/' . $this->_getDestina

[geeklog-users] Trouble with spaces in usernames when uploading userphotos

2004-01-12 Thread mandoline mandom
Hi ! Did a search in the forums but i didn't find any solution to my problem which is when a user with spaces in his username ie. "test user" is unable to upload a userphoto called pr3.gif with the following result; Image, pr3.gif had trouble being resized: This works perfectly for "ordinar