By Snipehunter on
Hi,
I'm setting up a Drupal site right now but I'm *very* new to this stuff. I've got Drupal 4.4.0 running fine at this point but I can't seem to get the node image module allow actual image uploads. Whenever I try to upload an image I get the following error:
Upload results
Sorry, image upload failed. Image type not supported.The directories I've set up (images/, etc.) are all writeable, I even tried setting their permissions to 777 but it changed nothing. Am I missing something simple here? Any knowledge you can drop on me would appreciated.
Comments
Make sure image type is supported
You need to make sure that the image type you are uploading is supported. To do this, go to Administer/Configuration/Modules/Node Image, then makes sure that the image type is listed in the "supported file extensions" field. Supportable types depend on whether you have ImageMagick or GD enabled for image support. I am using ImageMagick and have verified support for
.jpg,.jpeg,.gif,.pngimage types. HTH,Donovan.
Yeah, that's what I thought at first too
Yeah, I've got ImageMagick 6.0.0 installed and I've got the same types listed that you mentioned but I'm still getting this problem. I'm beginning to wonder if ImageMagick didn't install properly or something.
stoooopid question...
Does node_image even need ImageMagick or GD? It seems like there's no way to tell it where ImageMagick is or anything...
when you go to administer > i
when you go to administer > images it will tell you what is set up properly. if you need to fix the path to imagemagick, you can do that at administer > configuration > modules > image
Hmm, I think maybe I've mispoken myself.
my problems here are with node_image.module, not image.module which is the one that adds admin/images to your site, is that correct? I don't think node_image gives you that page, and if it does the version I installed must be misfunctioning - I only get the page you speak of when I install and activate image.module.
As far as I can tell, and I'm totally new at this so I could easily be way off base, node_image just isn't recognizing my uploads, always giving me the "this image type is not supported" message no matter what file types I configure in the node_image setup page. It's like the upload isn't coming through or perhaps is coming through as a wrong type or something but I have no idea, everything seems to be set up properly...
I'm getting the same problem
Permissions seem to be set correctly (according to the node_image module page); file extensions seem to be set correctly (used the defaults); no HMTL filtering on, but just in case, allowed
...still get "Image type not supported" with .gif, jpg and png files.
I'm wondering if this could be a java version issue? I'm running Drupal on Fedora 1, but uploading with OSX Panther...
Or maybe a conflict with another module?
It may be a browser issue...
I just got the image upload to work on IE on a Win2K box. The same image will not load from Safari on OSX.
Found the issue...FIXED
The issue seems to be how deep inside a file hierarchy the source image is. When I moved my images up in my directory structure, Safari worked just fine thank you.
Soooo...if this problem comes up, try moving your source image up in your directory structure.
Image Module is a pre-requisite for node_image
I'm pretty sure that you must have image module installed in order to use node_image. In turn, Image module requires Imagemagick or GD. So you should get Image Module working and active, then re-install node_image.
"It always seems impossible, until it is done."
- Nelson Mandela
No dependency
Node image is not dependent on image.module and, as it does no image manipulation, does not require either Imagemagick or GD.