Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying picture

Status
Not open for further replies.

welshone

Programmer
Jul 30, 2001
414
GB
hello,
how can I do the following :

1) Choose a picture by browsing to the location (Done this using input type = file).
2) display the chosen picture.(this is what I can't do).

So, something like this :

<HTML>
<HEAD>
<META NAME=&quot;GENERATOR&quot; Content=&quot;Microsoft Visual Studio 6.0&quot;>
<TITLE></TITLE>
</HEAD>
<BODY>

<P>&nbsp;</P>
<P>
<LABEL>
Choose Photograph :
</LABEL>
<input type = &quot;file&quot; name = &quot;photopath&quot; style=&quot;WIDTH: 479px; HEIGHT: 22px&quot; size =40></P>
<P>&nbsp;</P>


<IMG style= &quot;LEFT: 168px; TOP: 134px&quot; height=145 src= &quot;&photopath&&quot; width=201 >

</BODY>
</HTML>

thank you in advance,
Jamie.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top