This is a pretty common issue with file upload and processing. I suggest using either a Java or Flash based file uploader that offers a status for each file. the asfusion one is a good example of how you can upload and process each image. Once the image is uploaded and the script is run to resize, it will post back either a url or what I have done is run a javascript command that gets the image and loads it into DOM. Unfortunately there is no way that I know of to do this in ColdFusion and javascript without a bunch of AJAX requests checking every second or two to get a response from the server about how many files are in a directory. It could be fine but I think there is a better way than tying up the server with a cfdirectory script.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:326261 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

