I have been having trouble using media mover to create a thumbnail from a node's file field, and saving it back to another cck field (see http://drupal.org/node/220207.
Part of the problem in troubleshooting this issue is that I am not sure if I am using the module correctly and I can't find any documentation on this to clarify.
When saving back to a CCK field, which field types are allowed? In my case, should I be saving to an image field, file field, a plain text field with the thumbnail's url or something else?
Cheers
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | mm_content.diff.txt | 2.44 KB | arthurf |
| #1 | cck_image_field.patch.txt | 3.76 KB | Will White |
Comments
Comment #1
Will White commentedThis feature was marked as TODO. I've written some code that will save a thumbnail to a CCK imagefield. This allows it to be used with views, passed through imagecache easily, and sync'd with internationalization.
Comment #2
alex_b commentedsubscribing
Comment #3
seaneffel commentedalso subscribing
Comment #4
arthurf commentedA fix is now is now in CVS
Comment #5
Will White commentedAwesome! My patch works with imagefield so that you can use imagecache to manipulate thumbnails. I also plan to write some support for the filefield module so you can save encoded files in there. Does it make sense to take what is in CVS and build it out or is that just a temporary fix?
Comment #6
arthurf commentedI went with a straight node_save($node) with a switch for future types of CCK. I looked around for your imagefield patch but didn't find it- can you repost it here and we'll get it going?
Comment #7
Will White commentedHey arthurf,
The patch is attached to the first comment. Here's a link directly to the file.
Comment #8
arthurf commentedI reviewed the patch and made some changes to how this works- I think using the node_save($node) function makes things a bit cleaner- can you try this out and see if this is working or you?
Comment #9
xcusso@drupal.cat commentedI tried to run your patch (included in the beta releases) and don't work.
I don't know if is only my problem or someone have the same issue...