Why the requirement for no space in ImageMagick path?

stevie02476

Joined: 2005-11-06
Posts: 2
Posted: Sun, 2005-11-06 21:48

The Gallery 1.5.1 doc is quite specific that if you are using ImageMagick, there must not be a space in the pathname where ImageMagick is.

For instance, see the second item in this Gallary 1.5 FAQ

My question is, why is there this limitation, and is there anyway I can get around it?

Thanks for any advice. -Steve

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sun, 2005-11-06 21:53

The limitation is due to the need to place "'s around any windows path with spaces in them. WHen you combine several lines of commands to sent to the ImageMagick convert command it simply doesn't work as expected if there are spaces in the paths.


h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org

 
stevie02476

Joined: 2005-11-06
Posts: 2
Posted: Sun, 2005-11-06 23:14

Hmmm...

I got a separate piece of advice, that doesn't seem to work, but I don't know why. The ImageMagic stuff is on my Windows web hosting company's "Program Files" directory. My hosts suggested I give the name as:

c:\Progra~1\ instead of c:\Program Files\, since I guess to Windows the two names are equivalent. Pretty clever, but it doesn't seem to work either.

Any ideas? -Steve

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sun, 2005-11-06 23:25

That should actually work, but getting Gallery running in a hosted windows environment is not likely to happen I'm afraid. I'm guessing your problem is that your host hasn't given the webserver user enough permissions on cmd.exe


h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org