Hi,
If I want upload any image "node/add/image" or I use Node images in some Content type (page/story), I still display error "Only JPEG, PNG and GIF images are allowed.". I tested a lot of image but I still display this error and in the folder isnt any uploaded image.
Upload module work fine, but this module no and I dont know how I can repair it. Atributes of folder are correct. I think that problem is in Image module <-> Windows 2003 Server (IIS).
So I have:
Windows 2003 Server
ISS
Drupal 6.4
Image 6.x-1.0-alpha3
Image Gallery 6.x-1.0-alpha3
Image Import 6.x-1.0-alpha3
Node Images 6.x-2.x-dev
Is here anybody who know where I can have error?
Execuse my English please.
Thanks so much!!!
Comments
I still try how can I fix
I still try how can I fix it, but I still dont know idea, where can I find solution :-(
imagefield?
I have the same problem with imagefield 6.x-3.0-alpha2 if I put 6.x-3.0-alpha1 back, everything works again...
Its interesting because
Its interesting because imagefield depend on image module.
I dont use imagefield module, but only image module.
I try old release this module, but I have same problem.
I still dont know :=( PLS
I still dont know :=(
PLS Help, I trying always.
Fix
In /includes/image.inc, change line 117 from:
if (!is_file($file)) {to:
if (!is_file($file) && !is_uploaded_file($file)) {Works, but ....
It does work, but it will all have to be changed again after an update of the drupal core, will it not?
Possibly...
...though I have submitted a bug report on this. In my view, this is an IIS-related bug in image.inc itself. If the powers-that-be see it the same way, maybe future upgrades will have this fixed.