Closed (fixed)
Project:
ImageField
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2006 at 17:33 UTC
Updated:
13 Dec 2006 at 07:15 UTC
Jump to comment: Most recent file
Comments
Comment #1
dopry commentedDo you have any additional information?
Is the file on the server in the files folder?
Is there a database entry for the file?
Do normal uploads work for you?
imagefield hasn't been branched for DRUPAL-5 yet, and has just been ported to the DRUPAL-5 API. I still need to update the module to work with cck. Feel free to have a hand at it. I won't be putting a lot of effort into it until CCK is stable on DRUPAl-5.
Comment #2
quicksketchHere's a patch which gets imagefield working with Drupal 5 / CCK HEAD. It solves the duplicate image problem and adds dependency checking to the .info file. The "Delete" checkbox is not working still with this patch, which also is not working in the 4.7 branch. A separate patch will be required for that problem.
Comment #3
quicksketchComment #4
dopry commentednot quite the right fix. there is a bug in content.module, content_form_alter calls content_form twice, which means the file data gets prepped twice. The session stuff also seems to almost be working now. I will revisit this when one of the other cck committers has had time to commit the form_alter patch.
Comment #5
quicksketchRight you are. I found that this patch doesn't work for multiple field types. I've got a much better patch coming for issue #73174 which should incorporate the necessary changes there (it's all related).
Comment #6
quicksketchFull compatibility for Drupal 5 is included in the patch for issue #73174. However, the info file still needs to be updated to include the dependency checking. Here's a trimmed patch with just the info file changes.
Comment #7
dopry commentedhrm... I patch my local repo, but forgot to commit this hrm...
Comment #8
(not verified) commented