If you have the files in a loopable deal, I don't see why you couldn't
loop over them, outputting the current index, and doing a cfflush
after each iteration?

It's corny and easy and not ajaxy, but theoretically workable.

-- 
There is nothing in which the birds differ more from man than the way
in which they can build and yet leave a landscape as it was before.
    Robert Lynd

On Sat, Sep 12, 2009 at 3:55 AM, Rick Faircloth wrote:
>
> Hi, Barney...and thanks for the reply...
>
> I didn't actually want a loading progress indicator in terms of
> something that shows how much of a file has uploaded.
>
> I just want to return the info after each file has finished loading
> and processing, but doing so over and over until all the photos
> were processed.  I was thinking of something that would simply
> tell the user that photo xyz had finished uploading, various
> sizes had been created, etc., after the that process finishes
> for each photo.  Just some kind of running notifications to keep
> them "in the loop" on what's happening.  (And that something is
> *still* happening, so they don't bother the browser).
>
> After initiating a multiple photo uploading, the user would get
> something like this:
>
> (a few seconds pass, then, via ajax, display...)
> - photo01.jpg has been uploaded and thumbnails have been created
>
> (a few seconds pass, then, via ajax, display...)
> - photo02.jpg has been uploaded and thumbnails have been created
>
> (a few seconds pass, then, via ajax, display...)
> - photo03.jpg has been uploaded and thumbnails have been created
>
> etc., etc., until all submitted photos have been uploaded and processed.
>
> I just couldn't think of a way to return info such as the
> uploaded file name, etc., from a component method, *multiple times*.
>
> I thought perhaps I could somehow *loop* the image process routine,
> *including* the cfreturn, so I could get info back to the browser.
> I didn't know if that were possible, so I thought I'd just ask before
> starting trying to code a solution that might not even be possible.
>
> Perhaps I could somehow use a couple of processing methods that do the same
> thing, and when one is finished, have it return info for an image processed,
> and then trigger then second method to process an image and return info,
> which then triggers the first to process another photo, etc., until all the
> photos were processed.
>
> I don't know...just trying to think of a way to get this done using
> component
> methods or even another way.
>
> R

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:326257
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