You could certainly accomplish this with a little bit of AJAX thrown
in.

Scenario:
- user selects image (using <input type='file'>)
- user clicks 'preview' button
- system submits selected image file via AJAX to server
- server processes image upload and stores file on server
- In the AJAX 'success' handler, create new <img> tag on page which
references newly stored image file on server.

On Sep 17, 12:04 pm, config <[EMAIL PROTECTED]> wrote:
> You can't view the file because of security restrictions.
>
> A *long* time ago one could grab the path and call it with the file://
> protocol, but this is now blocked in most (all?) browsers. Similarly,
> one can't write a path into the file input.
>
> G.

Reply via email to