Page 1 of 1
Image show without submit form
Posted: Thu Apr 30, 2009 9:19 pm
by mtbadsha
hello friends,
i am facing a problem, that is i want to show selected image from my input file without submit form. can any one give me idea about the solution?
Re: Image show without submit form
Posted: Thu Apr 30, 2009 11:44 pm
by McInfo
Search Google for
image upload preview.
I checked the first two links and neither solution worked with my browser (Firefox 3.0.9). The first didn't work because Firefox doesn't allow script access to the path in the file input tag. The second doesn't work because Firefox has a security "feature" that disallows the use of the file:// protocol from remote sites.
I think you might be able to do it with AJAX which would upload the file before it was officially uploaded.
Edit: This post was recovered from search engine cache.