i have a upload image form what will be the parameters so that it will only display images not all files when browse file to upload?
<form action="<?=$_SERVER['PHP_SELF']?>" method="post" enctype="multipart/form-data" name="form1" >
<input type="file" name="smallko">
<input type="submit" name="Submit" value="Submit">
</form>