Welcome to Geeklog, Anonymous Tuesday, December 16 2025 @ 01:20 pm EST
Geeklog Forums
Mogrify / imagemagick problem
tokyoahead
Anonymous
Hi,
I am running a site on windows, with 1.3.10.
Since the upgrade, resizing images does not work anymore.
Now, when I want to upload a picture, I get a file not found error.
The issue is that the command sent to mogrify exe puts ' ' sing quotes around the filenae of the picture, and those are considered to be a part of the name. so the file cannot be found.
I went into debug, and checked the command, removed the quotes and entered the command into a dosbox - it worked.
So is there an error on my side that this happens? or is there a bug? Why is there a quote around the filename in the firstplace?
I am running a site on windows, with 1.3.10.
Since the upgrade, resizing images does not work anymore.
Now, when I want to upload a picture, I get a file not found error.
The issue is that the command sent to mogrify exe puts ' ' sing quotes around the filenae of the picture, and those are considered to be a part of the name. so the file cannot be found.
I went into debug, and checked the command, removed the quotes and entered the command into a dosbox - it worked.
So is there an error on my side that this happens? or is there a bug? Why is there a quote around the filename in the firstplace?
17
13
Quote
tokyoahead
Anonymous
Well this is not necessary since the files that are created will have the name of the story ID already at this point, which does not have any spaces in it.
I changed now line 528 in the upload.class.php and it works fine now.
I changed now line 528 in the upload.class.php and it works fine now.
17
12
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by tokyoahead: it works fine now.
Until the first user with a space in their username tries to upload a userphoto ...
Those quotes are necessary, although I think for Windows, they should be double quotes, not single quotes. That should also work on Unix, Linux, etc.
bye, Dirk
13
14
Quote
tokyoahead
Anonymous
whatever it is :-) I will try on monday to change it into double-quotes to see if it works on windows.
12
13
Quote
All times are EST. The time is now 01:20 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content