I'm doing a blog post form in php, and one of the fields is an image upload to use as a thumbnail. the image will also be uploaded on it's original size to be displayed on the post.

I'm gonna use something like this to crop: http://www.webmotionuk.co.uk/jquery/...pload_crop.php

problem is I want everything to be sent when the user press "submit", so I needed that crop thing to open on a new window whenever the user selects an image on the input.

how could I do so?

thanks in advance!