Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Images

insert jpg in upload button and resize

images php coding issues or problems here.

Moderators: macek, egami, gesf

insert jpg in upload button and resize

Postby bwl » Sun Jan 08, 2012 8:32 am

Hi:

I used the following script to open up windows file tree in order to select a file for upload, but I don't like the standard button created by the code. How do I insert a jpg into the button and resize it. Here is the code below. Thanks in advance.


<form method="post" enctype="multipart/form-data">
<table width="350" border="0" cellpadding="1" cellspacing="1" class="box">
<tr>
<td width="246">
<input type="hidden" name="MAX_FILE_SIZE" value="2000000">
<input name="userfile" type="file" id="userfile">
</td>
<td width="80"><input name="upload" type="submit" class="box" id="upload" value=" Upload "></td>
</tr>
</table>
</form>
bwl
New php-forum User
New php-forum User
 
Posts: 1
Joined: Sun Jan 08, 2012 8:09 am

Return to PHP coding => Images

Who is online

Users browsing this forum: No registered users and 0 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.