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
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

Richard_ - September 19, 2008 - 20:16

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

Richard_ - September 19, 2008 - 21:24

I have installed it and imagefield works.

#3

txcrew - September 21, 2008 - 06:12
Version:5.x-1.x-dev» 6.x-1.x-dev

This bug is also confirmed for the 6.x branch.

It not only affects imagefield, but filefield as well.

txcrew

#4

Richard_ - September 21, 2008 - 11:46

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

txcrew - September 21, 2008 - 13:57

@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

joshuajabbour - April 3, 2009 - 21:58

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

joshuajabbour - April 6, 2009 - 04:08
Assigned to:Anonymous» joshuajabbour

I have a fix for this, but it'll take a little re-working. Will post soon.

#8

Tannerjf - April 16, 2009 - 04:43

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

opensanta - May 8, 2009 - 22:22
Title:Doesn't work with imagefield» Integration with filefield and imagefield
Component:Code» Documentation
Category:bug report» feature request

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

drewish - May 19, 2009 - 22:33

after applying #467260: Errors with unlimited value field to comment_cck i was able to get an imagefield to work.

#11

drewish - May 19, 2009 - 22:40
Component:Documentation» Code

actually there are still some issues.

 
 

Drupal is a registered trademark of Dries Buytaert.