Greetings:

I'm using a relatively fresh Drupal 6.x install (6.4 to be exact), and I'm having a problem getting the image module to work...

I can go into the image upload section, and put in all my details, and then select "submit"...

I then get the following two errors in a red text box:

* Unable to create scaled Thumbnail image
* The selected file /usr/local/apache/htdocs could not be copied.

I'm guessing I am missing a setting somewhere, but everywhere I have looked, I cannot find it...

Suggestions?..

Thanks,.
RW...

Comments

dnewkerk’s picture

One thing to check is the "Temporary directory" setting at Administer > Site configuration > File system
It's hard to say for certain what that should be set to on your particular system, but a common setting is /tmp

-- David
absolutecross.com
[new guide/lesson in progress: Creating a CCK and Views powered Drupal site - feedback welcome]

ZaphoidYK’s picture

I went in to the admin module, and hardcoded /tmp/drupal as my temporary directory, and then created /tmp/drupal as the owner of my web server, with mode 777.

I then uploaded an image, and the image showed up in /tmp/drupal, even with the error message...

I think my problem lies in this message:

The selected file /usr/local/apache/htdocs could not be copied.

For some reason, the file is not getting picked out of /tmp/drupal... I know it's something really silly, and a single setting will likely fix it...

Thoughts or suggestions would be much appreciated!

Regards,
Richard.

ZaphoidYK’s picture

Greetings:

After installing ImageMagick, my images uploads and galleries are now working correctly...