insert jpg in upload button and resize

images php coding issues or problems here.

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 1
Joined: Sun Jan 08, 2012 8:09 am

insert jpg in upload button and resize

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


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">
<td width="246">
<input type="hidden" name="MAX_FILE_SIZE" value="2000000">
<input name="userfile" type="file" id="userfile">
<td width="80"><input name="upload" type="submit" class="box" id="upload" value=" Upload "></td>

Return to “PHP coding => Images”

Who is online

Users browsing this forum: No registered users and 3 guests