multiple image delete

Dear frds…

     am did multiple image preview with delete..i remove the image in view but i don't know how to reduce the  browser count. for example am selected 5 images, in view am deleting 2 img but the browser has the same 5 img.i want to reduce the browse button file count..help me frs

Please, share your code for a better help.