Integration with filefield and imagefield
Tannerjf - April 2, 2008 - 08:16
| Project: | Comment CCK |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | joshuajabbour |
| Status: | active |
| Issue tags: | cck extensions integration |
Jump to:
Description
Hello,
I'm trying this module hoping to allow members to post an image in their comments for the the node they're posting to. However, it doesn't appear that this module works with imagefield. Hitting upload on the field doesn't save the image, nor does selecting the image and hitting post comment. Both methods for uploading an image work on the node submission. What would it take to get this to work with imagefield?

#1
I am also looking for this sort of integration of imagefield and comment.
Have you managed it?
As you described, imagefield doesnt get "uploaded" after hitting "upload", but only after submiting node form. But that is the case of all CCK fields - they are saved once form is submited.
So where is the bug?
#2
I have installed it and imagefield works.
#3
This bug is also confirmed for the 6.x branch.
It not only affects imagefield, but filefield as well.
txcrew
#4
Well I can save or delete pictures under comment with this module.
However I will not use it, becasause I need something that will add this image (only/or also) into the comment.
#5
@Richard_
Could you please share your setup information (version of imagefield, cck, drupal and imagefield settings)?
For adding the image into the comment, have you checked out http://drupal.org/project/comment_upload?
txcrew
#6
I can confirm neither imagefield nor filefield work completely, even after the patch in #420092: Bring comment_cck up-to-date, combine patches is applied. You can alter the title/alt/description subfields on an image/filefield, but you cannot delete a file, upload a new file, or replace a file.
#7
I have a fix for this, but it'll take a little re-working. Will post soon.
#8
I'm glad to hear this issue is being tackled :) I'm hoping this fix will work for the 5.x release as well?
#9
Filefield and imagefield both recently finished support for revisions. I haven't tested this yet.
@comment_upload: I think filefield would be a better way to go.
joshuajabbour: Sounds good.
Here are the issues outside of comment_cck that lead up to this point:
#130269: Revisions not supported
#340768: handling of revisions while using filefield?
#370531: Properly Handle Revisions for document control
#10
after applying #467260: Errors with unlimited value field to comment_cck i was able to get an imagefield to work.
#11
actually there are still some issues.