> What if the images have other data that go with them like descriptions?

That's true in this case.
The images are uploaded and processed as part of a form.
In the cfc method, I first process the form data, then the photos.

I guess that the form data could be processed along with a zipped file.
But I don't see how looping over the images in the zip file to process them
is any different from uploading with multiple file fields and then looping
over them as I do now.

Dave, you mentioned just using <cfoutput> from within the method.  How do I
specify the target on the calling page for the content of the cfoutput?

I'm also curious about the "looping over a method and grabbing each return"
part of your previous message.

Can an entire method be looped inside the component?  Or are you just
talking about looping parts of the method's functionality within the method?

Rick


-----Original Message-----
From: Dave l [mailto:[email protected]] 
Sent: Monday, September 14, 2009 8:29 PM
To: cf-talk
Subject: Re: Is this possible with component methods in cf8?


What if the images have other data that go with them like descriptions?
Just as easily you could first make a temp folder with a uuid or session as
the name and dump them in there without having to zip them.

If you have more than just the picture such as a description or other data
then multi uploading isn't a good way to go.



> Another option is to use a zip utility to handle more than one image. 
> This can allow for as many files as you want. Simply upload one zipped 
> folder and then do a recursive loop inside of the zipped folder to 
> grab all of the images. 




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326308
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to