I'm not sure what be was talking about, but another option is the filefield_insert module. It allows you to insert a module attached to the node with filefield directly into your text editor. Add Image Resize Filter, and you can then resize your images on the fly (it uses imagecache to create a new size). I'm using WYSIWYG API + FCKeditor + filefield + fielfield_insert + image_resize_filter, and it rocks. Your users can attach files, add them into the text editor wherever they want, and then resize them on the fly.
That sounds like an interesting solution for a WYSIWYG field like 'body'. What I need is something that will hook IMCE into a cck field - not just for images, but any filetype. I specifically want to be able to plug mp3 files into a cck field, but not be limited to uploading a file - I want to be able to choose from already uploaded files as well.
I just did a video podcast on my solution yesterday. view it here It does use filefield insert and image resize, just as wonder95 points out...so unfortunately it may not work for you. My big question is, once the drupal $node->body field goes away (as it should in D7) how will all these field insert modules work? I'm just assuming they will, leaving that up to the developers to figure out.
Doh! What's the story on the body field going away? Will there be no default field for content - and we have to set all node fields up manually?
I'll watch your 'cast since that looks like an interesting module anyway.
Ultimately, my hope was to find a way to allow file management in the FFPC workflow. It looks like Quicksketch's Filefield Sources will be the best way once it stabilizes.
Rob - nice video. It seems, though, that the module (while very slick) still lacks the ability to browse assets that are already on the server. It (like many similar spots in Drupal where you are inserting an asset) seems to assume each insertion will be of a brand new item that I want to upload. What about something like a very large video file that I want to insert in a number of places on the site? I wouldn't want to upload multiple copies for multiple links.
This seems to be a pervasive issue. Am I missing something?
Have you checked out FileField Sources? It's a filefield extension that allows you to browse assets already on the server, the way IMCE does.
Well, apparently this conversation has converged into this one. You may want to go there to see discussions on how this 'reusable files' issue is being solved. The quick answer is that Media.module will be the solution that will allow browsing the entire media library from a filefield in the near future.
Rob Feature (or anyone else who might know):
I spoke with MF on IRC, and he said he saw you demo an IMCE/filefield integration. I had just found "filefield sources" (http://drupal.org/project/filefield_sources) but he said that wasn't it (it's not ready for primetime, anyway). Can you point me to the (a?) other solution?