Sorry if I'm a bit confused, I'm just having trouble following what you're doing.
You have a form with a file input type.
When this field has been filled in, (the file has been selected), you want to display the image file, dynamically, before the form is submitted?
If that is what you're trying to achieve, then you're going to need some client-side scripting in there as well.
For instance, you could display a place-holder image, then use javascript to change the value of that image to that of your input field, whenever your input field changes.
Does that sound sorta like what you're trying to do?
Cheers,
Jack
(Free PHP-enabled hosting till the end of the year - check out www.combustion.ie)