SWFUpload for other CCK File Uploads

Rob Loach - September 6, 2007 - 06:23
Project:SWFUpload
Version:5.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

How would we get this to work with other file uploads in CCK? For example, allow the uploading of images through SWFUpload with ImageField?

#1

trogie - September 6, 2007 - 13:22

yep, looking for that feature too!

#2

twom - January 23, 2008 - 20:05

I was wondering if someone was working on this feature? I would be very handy to combine SWFUpload with CCK imagefield!

#3

Zoologico - February 4, 2008 - 08:16

Tracking.

#4

zmove - March 5, 2008 - 15:35

subscribing

#5

psu - April 2, 2008 - 22:35

tracking

#6

momper - November 7, 2008 - 10:37

subscribing

#7

Boris Mann - November 22, 2008 - 18:13

I've written this into the project goals once we get stable D5 and D6 versions. If people would like to see this happen, please contact me about donating / sponsorship.

#8

likewhoa - December 30, 2008 - 23:13

subscribing

#9

JaceRider - January 7, 2009 - 21:44

subscribing

#10

basicmagic.net - February 3, 2009 - 00:24

subscribe

#11

marvix - February 15, 2009 - 15:10

Any updates!

tracking!

#12

roderik - March 6, 2009 - 14:20

I have a fully functional CCK imagefields module, for Drupal 5 that is.
I have been unable to share this with others while I was working on it, for funky business reasons (and time constraints).

It does image reordering after upload, too. (Reordering CCK fields is 'in core' in D6, but not in D5, so I had to implement JavaScript code for that myself.)
Because of some issues in D5 core, parallel callbacks (from your SWFUpload applications to the server) sometimes lose session information. This results in uploaded images being 'lost' in non-intuitive ways. If this happens to you, you have to patch session.inc in D5 core :(
(Which totally works, but will have performance implications on really busy sites. Not even speaking of the dead kittens.)

I have made it available at http://wyz.biz/drupal/imagefield_fupload . I will be applying for a CVS account and looking at other people's modules to see how this is best integrated on Drupal.org / into other modules. The module is fully functional though, so if you need it: just install it and give it a try. It should play nice with everything else, and 'just work' (except for the losing of some images if you do large parallel uploads, maybe.)

Because of these issues (specific to CCK/parallel upload, and the javascript code that is not necessary in D6 anymore), I am not sure whether it makes sense to merge this module with non-CCK SWFupload. There's just huge chunks of code that are only necessary in this specific case. But I'll see what other people think.
(If you wanna talk to me about it on DrupalCon: I'm there now.)

And HUGE thanks go to tolmi who saved my ass twice when I was stuck with this code.

#13

awolfey - April 8, 2009 - 13:40

Hi, trying to download this but the link is broken. Thanks.

#14

cangeceiro - April 20, 2009 - 20:17

in regards to #12 the download link is busted

#15

Rob Loach - April 20, 2009 - 20:48

I think he's talking about http://drupal.org/project/image_fupload . A direction which might be a good option is turning SWFUpload into a utility module that just maintains how SWFUpload is installed on the server. Another module that does this is the GetID3 module. All it does is provide a small API to use GetID3, and provides the hook_requirements() implementation to make sure it's installed correctly. Then Image_Fupload could then use the SWFUpload module to make sure SWFUpload is installed correctly, but then use it appropriately.

#16

cangeceiro - April 21, 2009 - 13:04

the image_fupload hosted by drupal is for 6 only, his version with the busted link is a port for version 5.

#17

awolfey - April 21, 2009 - 13:52

Roderik's imagefield_fupload for D5 works really well. I hope he'll release it or fix the link. I like its simplicity over image_fupload for D6, which has a couple of page refreshes rather than js. But being able to use swf with imagefields is great in any case.

#18

skilip - April 28, 2009 - 14:29

sbscrb

#19

roderik - May 1, 2009 - 00:03

I'm sorry, guys. Other distracting work has led me to be absent from this thread, and all of Drupal, for nearly 2 months.

I've sent people the file by mail when requested and gotten some very positive feedback. Kris Arnold (who mailed me a few days ago) has provided a little fix.

The file (with fix) is available again for download at http://wyz.biz/drupal/imagefield_fupload . And I am still going to look through image_fupload and other modules to see about cooperation, and apply for a CVS account here.

#20

mr.andrey - July 24, 2009 - 19:58

Is there a way to upload multiple non-image files?

I have a setup where I need to upload multiple mp3s and images (album artwork), and fill out the various fields at the same time (artist, album, name, etc).

I like the way Image FUpload does it with images - Upload first, then give the form where various fields can be filled out on one page. Very intuitive - I believe Flickr does the same thing. Upload first, label later.

Is there an interest in making this happen (multiple non-image uploads), and if so, what would it take? (I've done a bit of development, so I could definitely help out in coding/testing area).

Thanks,
Andrey.

#21

jackinloadup - August 20, 2009 - 23:09

subscribe

#22

CarbonPig - August 23, 2009 - 19:48

subscribe

#23

CarbonPig - August 23, 2009 - 22:16

subscribe

 
 

Drupal is a registered trademark of Dries Buytaert.