You can use the cl_form_tag from the cloudinary PHP client library to build the form with all the input tags. However, you might want to use the jQuery direct upload which gives you better control and is more customizable UI-wise. See here. If you can't use the PHP client library for some reason there are two issues in the code:
- A named transformation can be used by prefixing it by t_. So the value of the transformation field should be t_resize.
- The transformation parameter needs to be added to the signature. Note that the parameter names need to be in alphabetical order when signed.