By tboornaz on
I'm attempt to use the ImageField module in CCK. I added the ImageField to the content type however when I go to upload the image I get the following error: The selected file admin.jpg could not be uploaded. The file is not a known image format. I checked and the file extension is list under permitted upload file extension.
Can someone advise me how to fix this problem?
Thank you so much!
Comments
this is an issue of image
this is an issue of image module (see image.inc line 116 image_get_info($file) {..... } ) the issue caused by is_file($file) call. see http://ua2.php.net/manual/en/function.is-file.php for details
actually you have to change image.inc by hand.
So what is the fix?
Used in a simple test,
image_get_info()works just fine.Consider this little PHP script:
Returns:
Yet, I cannot upload any image files, small or large. Directory permissions are fine. Any suggestions as to how to fix this (IIS 6.0).
Did you ever find a fix to
Did you ever find a fix to this? I'm having the same issue under IIS 6.0
same issue with IIS6
I am also having sort of the same issue:
1. Cannot upload images with the standard image module, as there is no upload button, and when click on save, I receive error message "Only image formats jpeg, gif, or png are allowed",
2. If creating a new content type for images with CCK, then I have the same as vivianspencer or the above.
3. Maybe Interesting thing, if I ftp up the picture, it can be added to a gallery without issues.
drupal 6.16
IIS 6.0
PHP Version 5.2.13
MySQL version 5.0.51a
Just go to content type > x >
Just go to content type > x > manage fields, edit the image field, and on that screen you will see config options for file extensions.
I got the same problem under
I got the same problem under IIS 7.0, but with APACHE everything works fine.
Don't know the problem... but it's not a image extension configuration problem.
Having this issue as well on
Having this issue as well on IIS, no luck yet.
I spontaneously started
I spontaneously started having this issue as well. Worked fine until this evening...
subscribing