I use the following code to resize the image on the client side and it works fine. Now, how can I upload the resized image (srcEncode) to the server only by submitting the f