Hi. I'm running the latest imagefield dev and CCK on drupal 5.1. i created a node profile and added an image field. i get a choose file button and an upload button. i can navigate to an image and select it and it shows it selected, but then when i click upload, i don't think anything happens. it appears to just go back to being empty. i can't see that any file is uploaded anywhere into my files directory or a subdirectory. which subdirectory are these images supposed to upload into by the way? i already checked the .htaccess file and that should not be the problem.
i also elsewhere use image module and img.assist module and those both successfully upload images.
the .htaccess file in my files directory reads:
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
RewriteEngine Off
#RewriteEngine Off
Comments
images are usually stored in
images are usually stored in the 'files' folder.
i could be wrong, but imagefield is trying to save an image into table 'files' which needs a 'nid' to reference the file. as a user profile wouldn't have a nid, this could cause trouble uploading a file.
imagefield and node profile compatibility
Interesting. I just created a new content type called test. I added to test my existing field called Picture/Avatar.
I then created a new node of content type test and was able to successfully attach and upload an image.
So there is some problem specificially with node profile support for uploading images, or with my permissions.
As far as I can tell I have every permisison turned on in Access control, so the problem should not be there.
I will try posting a node profile issue.
—————————
Christopher Pelham
Director
CRS (Center for Remembering & Sharing)
123 4th Ave, 2nd FL
New York, NY 10003
212-677-8621
www.crsny.org
=-=
Did you submit the node that the imagefield is attached to ? just locating it and clicking on it won't upload the image.
yes thank you.
yes thank you.
—————————
Christopher Pelham
Director
CRS (Center for Remembering & Sharing)
123 4th Ave, 2nd FL
New York, NY 10003
212-677-8621
www.crsny.org
There is a bug in imagefield
There is a bug in imagefield that cause Firefox browser can't upload image. That took me quite a while to find topic about this situation. Check it here -> http://drupal.org/node/123977
updating PageRoute solves the problem.
Thank you.
I also learned there is/was a bug in PageRoute. This is fixed in the most recent dev release. With that installed, the problem is fixed, at least with Safari. I haven't tried uploading wit Firefox yet.
—————————
Christopher Pelham
Director
CRS (Center for Remembering & Sharing)
123 4th Ave, 2nd FL
New York, NY 10003
212-677-8621
www.crsny.org
imagefield: For me, it was making a temp directory
After installing imagefield and using it in a CCK-created content type, I too could not get an image to upload and appear with the node. After reading over this thread and some of the related ones about bugs in imagefield, I decided on a simpler solution (a lucky guess, actually...).
My site is hosted on a public server and I had left the default setting for the temp directory (/tmp) in place after installing Drupal 4.7.6. I changed that to be 'files/tmp' and drupal created a directory inside the files directory. That way, I am using a directory in *my* user space, not the server-wide /tmp directory. I don't know why that would make a difference, but it worked.
Maybe that will help some others.
Old subject, I know, but...
Devel module interferes with uploading imagefield images. Turned it off and everything was fine.