I'm trying to upload images and am having problems.
I'm running on windows XP and am sure it something
to do with permissions (IIS) and the backslash.
Also image_attach is not an option in the create image
however if I try to create a new content type it shows
up but I still have problems uploading. I'm sure that it
is is the drupal documentation forums but I have trouble
finding anything in it. At times is is faster and more
useful to google it and take the google druple results.

Some of the strings I've tried to type in and their results are:

if I try to upload:
C:\_www\drupal-5.1\files\images\import\test2,jpg
I get:
Uploaded file is not a valid image. Only JPG, PNG and GIF files are allowed.

C:/_www/drupal-5.1/files/images/import/test2.jpg
images/import/test2.jpg
test2.jpg
I get:
The selected file C:\_www\drupal-5.1\files could not be copied.
but a page is created without an image

Comments

ViTok’s picture

try to change the default "input format" to "PHP Code".

abloodworth’s picture

I had this same problem and the problem was I was trying to upload an image larger than was allowed in the site configuration > image toolkit. It looks like the first attempt at an upload had ",jpg" which would result in the error message you got, since it wasn't a .jpg.